Bump gcc version used in travis to 6

This commit is contained in:
Maxime Coste 2018-07-28 20:04:12 +10:00
parent 2c9daf2378
commit bd9895ea86

View File

@ -21,7 +21,7 @@ before_install:
install: install:
- if [ $TRAVIS_OS_NAME = linux ]; then - if [ $TRAVIS_OS_NAME = linux ]; then
if [ "$CXX" = "g++" ]; then if [ "$CXX" = "g++" ]; then
export CXX=g++-5; export CXX=g++-6;
fi; fi;
elif [ $TRAVIS_OS_NAME = osx ]; then elif [ $TRAVIS_OS_NAME = osx ]; then
brew outdated gcc || brew upgrade gcc; brew outdated gcc || brew upgrade gcc;
@ -35,8 +35,8 @@ addons:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- libstdc++-5-dev - libstdc++-6-dev
- g++-5 - g++-6
- libncursesw5-dev - libncursesw5-dev
coverity_scan: coverity_scan:
project: project: