diff --git a/.travis.yml b/.travis.yml index 1d9eace7..4bb512a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,8 @@ install: export CXX=g++-7; fi; elif [ $TRAVIS_OS_NAME = osx ]; then - brew outdated gcc || brew upgrade gcc; + brew install gcc@7; + export CXX=g++-7 fi; env: global: