]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add HTTP/2 test job to Travis configuration.
authorJoe Orton <jorton@apache.org>
Thu, 26 Aug 2021 14:41:46 +0000 (14:41 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 26 Aug 2021 14:41:46 +0000 (14:41 +0000)
Github: closes #262

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1892620 13f79535-47bb-0310-9956-ffa450edef68

.travis.yml
test/travis_run_linux.sh

index ad0cc7dee1a090925d9e25c4592806efd60f7919..aa814d0d91fc243f15c48ba0e4c29dfeca149b52 100644 (file)
@@ -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"
index 6c37052739957567bb4e10b6d08f228c7b659a35..a265c4c2a74509415e147220b96c7b3204c40b58 100755 (executable)
@@ -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