From: Joe Orton Date: Wed, 15 Dec 2021 11:37:53 +0000 (+0000) Subject: Add Travis job against OpenSSL 3 with -Werror but with deprecation X-Git-Tag: 2.5.0-alpha2-ci-test-only~641 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=590eb5905d44913395d19fa0f4d0e400b7b49f80;p=thirdparty%2Fapache%2Fhttpd.git Add Travis job against OpenSSL 3 with -Werror but with deprecation warnings disabled. Be careful to remove the previous OpenSSL install prefix is rebuilding. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895982 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/.travis.yml b/.travis.yml index 90028a8329a..966ac47acbe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -271,6 +271,13 @@ jobs: CONFIG="--enable-mods-shared=ssl --with-mpm=event" TEST_SSL=1 TEST_OPENSSL3=3.0.1 # ------------------------------------------------------------------------- + - name: Linux Ubuntu, APR trunk, minimal module set, OpenSSL 3.x -Werror + if: *condition_not_24x + env: APR_VERSION=trunk APR_CONFIG="--without-pgsql --without-mysql --without-odbc --with-crypto" + CONFIG="--enable-mods-shared=ssl --with-mpm=event" + TEST_OPENSSL3=3.0.1 SKIP_TESTING=1 + NOTEST_CFLAGS="-Werror -Wno-deprecated-declarations" + # ------------------------------------------------------------------------- - if: *condition_24x_only name: Linux Ubuntu, APR 1.7, minimal module set, OpenSSL 3.x env: APR_VERSION=1.7.0 diff --git a/test/travis_before_linux.sh b/test/travis_before_linux.sh index 9fa8fd4e7b1..0da000ab7df 100755 --- a/test/travis_before_linux.sh +++ b/test/travis_before_linux.sh @@ -117,6 +117,9 @@ if test -v TEST_OPENSSL3; then # Build the requested version of OpenSSL if it's not already # installed in the cached ~/root if ! test -f $HOME/root/openssl-is-${TEST_OPENSSL3}; then + # Remove any previous install. + rm -rf $HOME/root/openssl3 + mkdir -p build/openssl pushd build/openssl curl "https://www.openssl.org/source/openssl-${TEST_OPENSSL3}.tar.gz" |