1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

travis: split "torture" into a separate "events" build as well

Run torture without FTP and reducing coverage to 20%

For some reason the torture tests now run a lot slower on travis and run
into the 50 minute limit all the time.

Closes #6728
This commit is contained in:
Daniel Stenberg 2021-03-11 16:18:53 +01:00
parent 8ed71fc4f7
commit 743ab72bf1
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 20 additions and 1 deletions

View File

@ -298,6 +298,19 @@ jobs:
- libbrotli-dev
- 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"

View File

@ -36,11 +36,17 @@ if [ "$T" = "coverage" ]; then
fi
if [ "$T" = "torture" ]; then
./configure --enable-debug --disable-shared --disable-threaded-resolver --enable-code-coverage --enable-werror --with-libssh2
make
tests="!TLS-SRP !FTP"
make "TFLAGS=-n --shallow=20 -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
make "TFLAGS=-n --shallow=40 -t $tests" test-nonflaky
fi
if [ "$T" = "debug" ]; then