Update Travis CI compiler version

This commit is contained in:
Markus Gans 2019-10-20 22:53:45 +02:00
parent a924eeafb4
commit bdd6753444
1 changed files with 6 additions and 4 deletions

View File

@ -9,7 +9,7 @@ addons:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-6 - g++-7
- autotools-dev - autotools-dev
- automake - automake
- autoconf - autoconf
@ -51,7 +51,7 @@ matrix:
- os: linux - os: linux
env: env:
- TEST="Coverity Scan" - TEST="Coverity Scan"
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
addons: addons:
coverity_scan: coverity_scan:
project: project:
@ -62,10 +62,11 @@ matrix:
build_command: "make V=1 -j10" build_command: "make V=1 -j10"
branch_pattern: master branch_pattern: master
before_install: before_install:
- eval "${MATRIX_EVAL}"
- lsb_release -a - lsb_release -a
- uname -a - uname -a
- whoami - whoami
- sudo apt-get install g++-6 gpm libgpm-dev libcppunit-dev autoconf-archive - sudo apt-get install g++-7 gpm libgpm-dev libcppunit-dev autoconf-archive
# Work around broken certificate of scan.coverity.com # Work around broken certificate of scan.coverity.com
- sudo curl -s -L https://entrust.com/root-certificates/entrust_l1k.cer -o /usr/local/share/ca-certificates/entrust_l1k.crt - sudo curl -s -L https://entrust.com/root-certificates/entrust_l1k.cer -o /usr/local/share/ca-certificates/entrust_l1k.crt
- sudo update-ca-certificates - sudo update-ca-certificates
@ -82,8 +83,9 @@ matrix:
- os: linux - os: linux
env: env:
- TEST="Coveralls" - TEST="Coveralls"
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
before_install: before_install:
- eval "${MATRIX_EVAL}"
- lsb_release -a - lsb_release -a
- uname -a - uname -a
- pip install --user cpp-coveralls - pip install --user cpp-coveralls