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
Родитель 8ed71fc4f7
Коммит 743ab72bf1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 5CC908FDB71E12C2
2 изменённых файлов: 20 добавлений и 1 удалений

Просмотреть файл

@ -298,6 +298,19 @@ jobs:
- libbrotli-dev - libbrotli-dev
- libzstd-dev - libzstd-dev
- libssh2-1-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: - env:
- T=distcheck - T=distcheck
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8" - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"

Просмотреть файл

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