From baab8be324023add872e6b755174acc0a4e97c99 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 11 Feb 2018 12:25:48 +0100 Subject: [PATCH] Update travis CI to g++7 Use newer g++ 7 instead of 6 in travis CI tests. No functional change. --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0a214d1a..1168664d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,9 @@ matrix: addons: apt: sources: ['ubuntu-toolchain-r-test'] - packages: ['g++-6', 'g++-6-multilib', 'g++-multilib', 'valgrind', 'expect'] + packages: ['g++-7', 'g++-7-multilib', 'g++-multilib', 'valgrind', 'expect'] env: - - COMPILER=g++-6 + - COMPILER=g++-7 - COMP=gcc - os: linux @@ -69,6 +69,6 @@ script: # # Sanitizer # - # Use g++-6 as a proxy for having sanitizers, might need revision as they become available for more recent versions of clang/gcc - - if [[ "$COMPILER" == "g++-6" ]]; then make clean && make -j2 ARCH=x86-64 sanitize=undefined optimize=no debug=yes build > /dev/null && ../tests/instrumented.sh --sanitizer-undefined; fi - - if [[ "$COMPILER" == "g++-6" ]]; then make clean && make -j2 ARCH=x86-64 sanitize=thread optimize=no debug=yes build > /dev/null && ../tests/instrumented.sh --sanitizer-thread; fi + # Use g++-7 as a proxy for having sanitizers, might need revision as they become available for more recent versions of clang/gcc + - if [[ "$COMPILER" == "g++-7" ]]; then make clean && make -j2 ARCH=x86-64 sanitize=undefined optimize=no debug=yes build > /dev/null && ../tests/instrumented.sh --sanitizer-undefined; fi + - if [[ "$COMPILER" == "g++-7" ]]; then make clean && make -j2 ARCH=x86-64 sanitize=thread optimize=no debug=yes build > /dev/null && ../tests/instrumented.sh --sanitizer-thread; fi -- 2.39.2