- name: Linux Ubuntu, Default module set
# -------------------------------------------------------------------------
- name: Linux Ubuntu, Default, all-modules
- env: CONFIG="--enable-mods-shared=reallyall --enable-load-all-modules"
+ env: CONFIG="--enable-mods-shared=reallyall"
# -------------------------------------------------------------------------
- name: Linux Ubuntu, Prefork MPM, all-modules
- env: CONFIG="--enable-mods-shared=reallyall --enable-load-all-modules --with-mpm=prefork"
+ env: CONFIG="--enable-mods-shared=reallyall --with-mpm=prefork"
# -------------------------------------------------------------------------
- name: Linux Ubuntu, Worker MPM, all-modules
- env: CONFIG="--enable-mods-shared=reallyall --enable-load-all-modules --with-mpm=worker"
+ env: CONFIG="--enable-mods-shared=reallyall --with-mpm=worker"
# -------------------------------------------------------------------------
- name: Linux Ubuntu Bionic, all-modules
os: linux
dist: bionic
- env: CONFIG="--enable-mods-shared=reallyall --enable-load-all-modules"
+ env: CONFIG="--enable-mods-shared=reallyall"
# -------------------------------------------------------------------------
- name: Linux Ubuntu Bionic, GCC 7 maintainer-mode w/-Werror
os: linux
dist: bionic
- env: CONFIG="--enable-mods-shared=reallyall --enable-load-all-modules --enable-maintainer-mode NOTEST_CFLAGS=-Werror CC=gcc-7"
+ env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode NOTEST_CFLAGS=-Werror CC=gcc-7"
SKIP_TESTING=1
# -------------------------------------------------------------------------
- name: Linux Ubuntu, GCC 8 maintainer-mode w/-Werror
- env: CONFIG="--enable-mods-shared=reallyall --enable-load-all-modules --enable-maintainer-mode NOTEST_CFLAGS=-Werror CC=gcc-8"
+ env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode NOTEST_CFLAGS=-Werror CC=gcc-8"
SKIP_TESTING=1
addons:
apt:
#!/bin/bash -ex
-./buildconf
-test -v SKIP_TESTING || CONFIG="--with-test-suite=test/perl-framework $CONFIG"
+./buildconf --with-apr=/usr/bin/apr-1-config
+# For trunk, "make check" is sufficient to run the test suite.
+# For 2.4.x, the test suite must be run manually
+if test ! -v SKIP_TESTING; then
+ CONFIG="$CONFIG --enable-load-all-modules"
+ if grep -q ^check: Makefile.in; then
+ CONFIG="--with-test-suite=test/perl-framework $CONFIG"
+ WITH_TEST_SUITE=1
+ else
+ CONFIG="--prefix=$HOME/build/httpd-root $CONFIG"
+ fi
+fi
./configure $CONFIG --with-apr=/usr --with-apr-util=/usr
make $MAKEFLAGS -j2
-test -v SKIP_TESTING || make check
+if ! test -v SKIP_TESTING; then
+ if test -v WITH_TEST_SUITE; then
+ make check
+ else
+ make install
+ cd test/perl-framework
+ perl Makefile.PL -apxs $HOME/build/httpd-root/bin/apxs
+ make test
+ fi
+fi