Enhance Travis testing to use gcc 8 and test C++17 and C17

This commit is contained in:
William S Fulton 2018-05-05 07:48:24 +01:00
commit 1c46662c39
2 changed files with 17 additions and 1 deletions

View file

@ -17,6 +17,10 @@ elif [[ "$CC" == gcc-7 ]]; then
travis_retry sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
travis_retry sudo apt-get -qq update
travis_retry sudo apt-get install -qq g++-7
elif [[ "$CC" == gcc-8 ]]; then
travis_retry sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
travis_retry sudo apt-get -qq update
travis_retry sudo apt-get install -qq g++-8
fi
travis_retry sudo apt-get -qq install libboost-dev