diff --git a/.travis.yml b/.travis.yml index aa734f7d..314a2000 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ addons: - g++-6 before_install: - - export CXX=g++-6 + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-6; fi script: - support/travis-build.py