Update .travis.yml

This commit is contained in:
Anton Klautsan 2015-10-18 01:51:49 +01:00
parent c81cf6b7ef
commit 58b543535a

View File

@ -6,6 +6,12 @@
# http://stackoverflow.com/questions/22111549/travis-ci-with-clang-3-4-and-c11/30925448#30925448
# to allow C++11, though we are not yet building with -std=c++11
before-install:
# Debug information
- if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then lsb_release -a; fi
- uname -a
- $CC --version
- $CXX --version
install:
# /usr/bin/gcc is 4.6 always, but gcc-X.Y is available.
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi