diff options
author | Max Kellermann <max@musicpd.org> | 2017-05-17 15:55:57 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-05-17 15:56:19 +0200 |
commit | 78faee8c7cb4e4b24256d42e8df8e48e1ffc0b52 (patch) | |
tree | c12732d746affa94ed70905f4b97062d6d26960b /.travis.yml | |
parent | 40e2a703d0046d5e5da3e1ab4f5211fa0b40b375 (diff) |
.travis.yml: choose compiler with environment variables
.. and not update-alternatives, which requires "sudo".
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index a8435faf3..27a17c4eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,10 +25,9 @@ before_install: install: # C++14 - sudo apt-get install -qq g++-5 - - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90 - - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 90 script: + - export CC=gcc-5 CXX=g++-5 - ./autogen.sh - ./configure --enable-test - make |