]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
travis: remove "coverage", make it "torture"
authorDaniel Stenberg <daniel@haxx.se>
Tue, 10 Dec 2019 08:36:46 +0000 (09:36 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 10 Dec 2019 12:39:29 +0000 (13:39 +0100)
The coveralls service and test coverage numbers are just too unreliable.
Removed badge from README.md as well.

Fixes #4694
Closes #4695

.travis.yml
README.md

index 4f0c0c5c8494b6fcbd52b8f90b9db0911cee1c73..262e5138281521779623989d3c9d58a04e6036f1 100644 (file)
@@ -301,7 +301,7 @@ matrix:
           compiler: gcc
           dist: xenial
           env:
-              - T=coverage
+              - T=torture
               - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
           addons:
               apt:
@@ -535,6 +535,16 @@ script:
              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
         fi
+    - |
+        set -eo pipefail
+        if [ "$T" = "torture" ]; then
+             ./configure --enable-debug --disable-shared --disable-threaded-resolver --enable-code-coverage --enable-werror --enable-alt-svc --with-libssh2
+             make
+             make TFLAGS=-n test-nonflaky
+             make "TFLAGS=-n -e" test-nonflaky
+             tests="1 200 300 500 700 800 900 1000 1100 1200 1302 1400 1502 3000"
+             make "TFLAGS=-n -t $tests" test-nonflaky
+        fi
     - |
         set -eo pipefail
         if [ "$T" = "debug" ]; then
index 480b53babd0f20da8ba0895f18c7c0aebf5e9b0c..8e1986ba13eddc14fe7501894a92bd266d41001e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -5,7 +5,6 @@
 [![Travis-CI Build Status](https://travis-ci.org/curl/curl.svg?branch=master)](https://travis-ci.org/curl/curl)
 [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/l1vv31029huhf4g4?svg=true)](https://ci.appveyor.com/project/curlorg/curl)
 [![Cirrus Build Status](https://api.cirrus-ci.com/github/curl/curl.svg?branch=master)](https://cirrus-ci.com/github/curl/curl)
-[![Coverage Status](https://coveralls.io/repos/github/curl/curl/badge.svg)](https://coveralls.io/github/curl/curl)
 [![Backers on Open Collective](https://opencollective.com/curl/backers/badge.svg)](#backers)
 [![Sponsors on Open Collective](https://opencollective.com/curl/sponsors/badge.svg)](#sponsors)
 [![Language Grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/curl/curl.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/curl/curl/context:cpp)