Add GCC 7,8 to Travis tests.

This commit is contained in:
Zach Laine 2018-10-17 22:42:10 -05:00
parent 8c7a551ef2
commit c88ab70b51

View File

@ -38,6 +38,28 @@ matrix:
sources:
- ubuntu-toolchain-r-test
- env: GCC_VERSION=7 ASAN=off
os: linux
compiler: gcc-7
addons: &gcc7
apt:
packages:
- g++-7
- valgrind
sources:
- ubuntu-toolchain-r-test
- env: GCC_VERSION=8 ASAN=off
os: linux
compiler: gcc-8
addons: &gcc8
apt:
packages:
- g++-8
- valgrind
sources:
- ubuntu-toolchain-r-test
install:
- export CHECKOUT_PATH=`pwd`;
- if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi