summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-08-15 11:13:26 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-08-15 15:54:09 +0200
commit3001304ad119d2547148da7cff1444fb06df88b6 (patch)
treec4a079f75604da84af743d18cf6d226232433f46 /.travis.yml
parentd6757bbc7d0003f2b9200455aed6a3c3d54f36cd (diff)
downloadcurl-3001304ad119d2547148da7cff1444fb06df88b6.tar.gz
travis: revert back to gcc-7 for coverage builds
... since the gcc-8 ones seem to fail frequently. Follow-up from b85207199544ca Closes #2886
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 4b846b140..44e3be83f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,7 @@ addons:
- llvm-toolchain-trusty-6.0
packages:
- cmake
+ - gcc-7
- gcc-8
- lcov
- clang-6.0
@@ -230,15 +231,15 @@ script:
- |
set -eo pipefail
if [ "$T" = "coverage" ]; then
- export CC="gcc-8"
+ export CC="gcc-7"
./configure --enable-debug --disable-shared --enable-code-coverage
make
make TFLAGS=-n test-nonflaky
make "TFLAGS=-n -e" test-nonflaky
tests="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 200 201 202 300 301 302 500 501 502 503 504 506 507 508 509 510 511 512 513 514 515 516 517 518 519 600 601 700 701 702 800 801 802 803 900 901 902 903 1000 1001 1002 1004 1100 1101 1200 1201 1302 1303 1304 1305 1306 1308 1400 1401 1402 1404 1450 1451 1452 1502 1507 1508 1600 1602 1603 1605 2001 3000"
make "TFLAGS=-n -t $tests" test-nonflaky
- coveralls --gcov /usr/bin/gcov-8 --gcov-options '\-lp' -i src -e lib -e tests -e docs -b $PWD/src
- coveralls --gcov /usr/bin/gcov-8 --gcov-options '\-lp' -e src -i lib -e tests -e docs -b $PWD/lib
+ coveralls --gcov /usr/bin/gcov-7 --gcov-options '\-lp' -i src -e lib -e tests -e docs -b $PWD/src
+ coveralls --gcov /usr/bin/gcov-7 --gcov-options '\-lp' -e src -i lib -e tests -e docs -b $PWD/lib
fi
- |
set -eo pipefail