Travis should use gcc-7 on linux

This commit is contained in:
Chris Esposito 2018-12-28 09:26:49 +11:00 committed by GitHub
parent c91a42d7c4
commit bbc5948fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -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