Commit 78faee8c authored by Max Kellermann's avatar Max Kellermann

.travis.yml: choose compiler with environment variables

.. and not update-alternatives, which requires "sudo".
parent 40e2a703
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment