From: Joe Orton Date: Thu, 26 Aug 2021 14:41:46 +0000 (+0000) Subject: Add HTTP/2 test job to Travis configuration. X-Git-Tag: 2.5.0-alpha2-ci-test-only~851 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60a609e79a5821adba265ec93fc9cbff7bc925be;p=thirdparty%2Fapache%2Fhttpd.git Add HTTP/2 test job to Travis configuration. Github: closes #262 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1892620 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/.travis.yml b/.travis.yml index ad0cc7dee1a..aa814d0d91f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -265,6 +265,39 @@ jobs: TEST_MALLOC=1 TEST_SSL=1 CLEAR_CACHE=1 # ------------------------------------------------------------------------- + - if: *condition_not_24x + name: Linux Ubuntu, event MPM, HTTP/2 test suite + dist: focal + env: APR_VERSION=1.7.0 + APU_VERSION=1.6.1 APU_CONFIG="--with-crypto" + CONFIG="--enable-mods-shared=reallyall --with-mpm=event --enable-mpms-shared=event" + TESTS="t/modules/http2.t" TEST_INSTALL=1 TEST_H2=1 + addons: + apt: + sources: + - sourceline: 'deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe' + packages: + - cpanminus + - libtool-bin + - libapr1-dev + - libaprutil1-dev + - perl-doc + - liblua5.3-dev + - libbrotli-dev + - libcurl4-openssl-dev + - libsystemd-dev + - libnghttp2-dev + - libjansson-dev + - libpcre2-dev + - libldap2-dev + - ldap-utils + - gdb + - curl + - python3-pytest + - nghttp2-client + - python3-cryptography + - python3-requests + # ------------------------------------------------------------------------- - name: Linux Ubuntu, APR 1.7.0, APR-util 1.6.1, LDAP env: APR_VERSION=1.7.0 APU_VERSION=1.6.1 APU_CONFIG="--with-crypto --with-ldap" diff --git a/test/travis_run_linux.sh b/test/travis_run_linux.sh index 6c370527399..a265c4c2a74 100755 --- a/test/travis_run_linux.sh +++ b/test/travis_run_linux.sh @@ -140,6 +140,12 @@ if ! test -v SKIP_TESTING; then popd fi + if test -v TEST_H2 -a $RV -eq 0; then + # Run HTTP/2 tests. + py.test-3 test/modules/http2 + RV=$? + fi + if test -v LITMUS -a $RV -eq 0; then pushd test/perl-framework mkdir -p t/htdocs/modules/dav