travis: Test on GCC 8

This commit is contained in:
MerryMage 2019-05-08 22:35:39 +01:00
parent 3513ed1c60
commit 55254968fc
2 changed files with 16 additions and 3 deletions

View file

@ -4,7 +4,7 @@ cache: ccache
matrix: matrix:
include: include:
- env: NAME="Linux Build" - env: NAME="Linux Build" GCC_VERSION=7
os: linux os: linux
dist: trusty dist: trusty
addons: addons:
@ -17,6 +17,19 @@ matrix:
- ninja-build - ninja-build
install: ./.travis/build-x86_64-linux/deps.sh install: ./.travis/build-x86_64-linux/deps.sh
script: ./.travis/build-x86_64-linux/build.sh script: ./.travis/build-x86_64-linux/build.sh
- env: NAME="Linux Build" GCC_VERSION=8
os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-8
- g++-8
- ninja-build
install: ./.travis/build-x86_64-linux/deps.sh
script: ./.travis/build-x86_64-linux/build.sh
- env: NAME="Test - Fuzz against Unicorn" - env: NAME="Test - Fuzz against Unicorn"
os: linux os: linux
dist: trusty dist: trusty

View file

@ -3,8 +3,8 @@
set -e set -e
set -x set -x
export CC=gcc-7 export CC=gcc-${GCC_VERSION}
export CXX=g++-7 export CXX=g++-${GCC_VERSION}
export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
mkdir build && cd build mkdir build && cd build