From bbc5948fdd1d694e0016c16da4a914e72d839356 Mon Sep 17 00:00:00 2001 From: Chris Esposito Date: Fri, 28 Dec 2018 09:26:49 +1100 Subject: [PATCH] Travis should use gcc-7 on linux --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4dede2a6..68d0e603 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,20 @@ matrix: dist: trusty sudo: required compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-7 + env: + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" - os: osx osx_image: xcode7.2 compiler: clang before_install: + - eval "${MATRIX_EVAL}" - | # OSX if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then