Fix travis.yml

This commit is contained in:
Maxime Coste 2019-01-11 09:30:25 +11:00 committed by Maxime Coste
parent eb8f785e91
commit 73023087f7

View File

@ -24,8 +24,10 @@ install:
export CXX=g++-7; export CXX=g++-7;
fi; fi;
elif [ $TRAVIS_OS_NAME = osx ]; then elif [ $TRAVIS_OS_NAME = osx ]; then
brew install gcc@7; if [ "$CXX" = "g++" ]; then
export CXX=g++-7 brew install gcc@7;
export CXX=g++-7;
fi;
fi; fi;
env: env:
global: global: