Upgrade GCC to 10 on Travis

This commit is contained in:
Kleis Auke Wolthuizen 2020-07-14 18:52:31 +02:00
parent d4fef12284
commit e8dc191795
1 changed files with 8 additions and 1 deletions

View File

@ -71,16 +71,23 @@ jobs:
os: linux os: linux
dist: bionic dist: bionic
compiler: gcc compiler: gcc
name: "Ubuntu 18.04 / GCC 7.4.0" name: "Ubuntu 18.04 / GCC 10"
addons: addons:
apt: apt:
sources:
- *common_sources
- ubuntu-toolchain-r-test
packages: packages:
- *common_packages - *common_packages
- libmagick++-dev - libmagick++-dev
- g++-10
env: env:
- JPEG=/usr - JPEG=/usr
- JOBS=`nproc` - JOBS=`nproc`
- WITH_MAGICK=yes - WITH_MAGICK=yes
- CC="gcc-10"
- CXX="g++-10"
- LDSHARED="$CC -shared"
cache: ccache cache: ccache
- os: linux - os: linux
dist: bionic dist: bionic