Bump travis config to gcc-7 and xcode 10.1 to try to fix compilation

This commit is contained in:
Maxime Coste 2018-12-20 08:42:55 +11:00
parent 2afc147b2c
commit 5a8a174f81

View File

@ -7,7 +7,7 @@ os:
- linux - linux
- osx - osx
osx_image: xcode8.3 osx_image: xcode10.1
compiler: compiler:
- clang - clang
@ -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++-7;
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++-7-dev
- g++-5 - g++-7
- libncursesw5-dev - libncursesw5-dev
coverity_scan: coverity_scan:
project: project: