diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-11 16:18:53 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-03-12 19:53:45 +0100 |
commit | 1968043407dc616d93d042da85ec2e7c6db2229c (patch) | |
tree | 713ecc1ec0692fcf4805b93893a5cc70c392669f | |
parent | 8ed71fc4f7116288da75ed85e21fe8c53f4cdfb2 (diff) | |
download | curl-1968043407dc616d93d042da85ec2e7c6db2229c.tar.gz |
travis: split "torture" into a separate "events" build as well
The event-based tests thus run in its own separate build to see if we
manage to get through more torture tests within the total time limit.
-rw-r--r-- | .travis.yml | 13 | ||||
-rwxr-xr-x | scripts/travis/script.sh | 8 |
2 files changed, 20 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 340321f59..e6ad74c99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -299,6 +299,19 @@ jobs: - libzstd-dev - libssh2-1-dev - env: + - T=events + - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8" + addons: + apt: + <<: *common_apt + packages: + - *common_packages + - lcov + - libpsl-dev + - libbrotli-dev + - libzstd-dev + - libssh2-1-dev + - env: - T=distcheck - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8" addons: diff --git a/scripts/travis/script.sh b/scripts/travis/script.sh index 85afa9618..2f9f2ad33 100755 --- a/scripts/travis/script.sh +++ b/scripts/travis/script.sh @@ -39,10 +39,16 @@ if [ "$T" = "torture" ]; then ./configure --enable-debug --disable-shared --disable-threaded-resolver --enable-code-coverage --enable-werror --with-libssh2 make tests="!TLS-SRP" - make "TFLAGS=-n -e $tests" test-nonflaky make "TFLAGS=-n --shallow=40 -t $tests" test-nonflaky fi +if [ "$T" = "events" ]; then + ./configure --enable-debug --disable-shared --disable-threaded-resolver --enable-code-coverage --enable-werror --with-libssh2 + make + tests="!TLS-SRP" + make "TFLAGS=-n -e $tests" test-nonflaky +fi + if [ "$T" = "debug" ]; then ./configure --enable-debug --enable-werror $C make |