travis: Move to gcc-7

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2018-10-25 11:47:38 -03:00
parent 0af145ab8f
commit dae4b5bb35

View File

@ -1,14 +1,22 @@
dist: trusty
sudo: false sudo: false
language: cpp language: cpp
compiler: g++ matrix:
install: export CXX="g++-6" include:
- os: linux
dist: xenial
sudo: require
addons: addons:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - sourceline: 'ppa:ubuntu-toolchain-r/test'
packages: packages:
- g++-6 - 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: script:
- mkdir tmp - mkdir tmp