diff --git a/.travis.yml b/.travis.yml index 21ae5587..75c85280 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,16 @@ os: compiler: - gcc - clang +install: +- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-4.8 + - g++-4.8 + - clang branches: only: - master