From dae4b5bb35cdee1924fe1d36a2c3273ddb1282bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 25 Oct 2018 11:47:38 -0300 Subject: [PATCH] travis: Move to gcc-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- .travis.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4a7b229..1950626 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,22 @@ -dist: trusty sudo: false language: cpp -compiler: g++ -install: export CXX="g++-6" -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-6 +matrix: + include: + - os: linux + dist: xenial + sudo: require + addons: + apt: + sources: + - sourceline: 'ppa:ubuntu-toolchain-r/test' + packages: + - g++-7 + env: + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" + +before_install: + # This is necessary to solve https://github.com/travis-ci/travis-ci/issues/9649 + - eval "${MATRIX_EVAL}" script: - mkdir tmp