]> git.sesse.net Git - stockfish/commitdiff
Update travis CI to g++7
authorMarco Costalba <mcostalba@gmail.com>
Sun, 11 Feb 2018 11:25:48 +0000 (12:25 +0100)
committerStéphane Nicolet <cassio@free.fr>
Mon, 12 Feb 2018 21:42:39 +0000 (22:42 +0100)
Use newer g++ 7 instead of 6 in travis CI tests.

No functional change.

.travis.yml

index 0a214d1a24c73f181336ea19a20e3e213c3599fb..1168664d4d9f041eae6edc4178b4d6e2e3a1d54f 100644 (file)
@@ -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