From 1968043407dc616d93d042da85ec2e7c6db2229c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 11 Mar 2021 16:18:53 +0100 Subject: 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. --- .travis.yml | 13 +++++++++++++ scripts/travis/script.sh | 8 +++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 340321f59..e6ad74c99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" 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 -- cgit v1.2.1