- libnghttp2-dev
- libjansson-dev
- libpcre2-dev
+ - libldap2-dev
+ - ldap-utils
env:
global:
- MFLAGS=-j2
NOTEST_CFLAGS="-Werror"
CC="gcc -m32"
APR_VERSION=1.7.0
- APU_VERSION=1.6.1 APU_CONFIG="--with-crypto"
+ APU_VERSION=1.6.1 APU_CONFIG="--with-crypto --with-ldap"
addons:
apt:
sources:
- lib32z1-dev
- libbrotli-dev:i386
- libpcre2-dev:i386
+ - libldap2-dev:i386
- libtool-bin
- perl-doc
- libapr1-dev
# -------------------------------------------------------------------------
- name: Linux Ubuntu, GCC 7 maintainer-mode w/-Werror
os: linux
- env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode NOTEST_CFLAGS=-Werror CC=gcc-7"
+ env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode" NOTEST_CFLAGS='-Werror -O2' CC=gcc-7
SKIP_TESTING=1
# -------------------------------------------------------------------------
- if: *condition_not_24x
env: CONFIG="--enable-mods-shared=reallyall --with-pcre=/usr/bin/pcre-config --enable-maintainer-mode NOTEST_CFLAGS=-Werror CC=gcc-7"
# -------------------------------------------------------------------------
- name: Linux Ubuntu, GCC 8 maintainer-mode w/-Werror
- env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode NOTEST_CFLAGS=-Werror CC=gcc-8"
+ env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode" NOTEST_CFLAGS='-Werror -O2' CC=gcc-8
SKIP_TESTING=1
addons:
apt:
- libnghttp2-dev
- libjansson-dev
- libpcre2-dev
+ - libldap2-dev
# -------------------------------------------------------------------------
- name: Linux Ubuntu, GCC 9 maintainer-mode w/-Werror
- env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode NOTEST_CFLAGS=-Werror CC=gcc-9"
+ env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode" NOTEST_CFLAGS='-Werror -O2' CC=gcc-9
SKIP_TESTING=1
addons:
apt:
- libnghttp2-dev
- libjansson-dev
- libpcre2-dev
+ - libldap2-dev
+ # -------------------------------------------------------------------------
+ - name: Linux Ubuntu, GCC 10 maintainer-mode w/-Werror
+ env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode" NOTEST_CFLAGS='-Werror -O2' CC=gcc-10
+ SKIP_TESTING=1
+ addons:
+ apt:
+ sources:
+ - sourceline: 'ppa:ubuntu-toolchain-r/test'
+ packages:
+ - gcc-10
+ - libtool-bin
+ - libapr1-dev
+ - libaprutil1-dev
+ - perl-doc
+ - lua5.3-dev
+ - libbrotli-dev
+ - libcurl4-openssl-dev
+ - libsystemd-dev
+ - libnghttp2-dev
+ - libjansson-dev
+ - libpcre2-dev
+ - libldap2-dev
# -------------------------------------------------------------------------
# MFLAGS= works around https://bz.apache.org/bugzilla/show_bug.cgi?id=63942
- if: *condition_not_24x
dist: xenial
env: APR_VERSION=1.7.0 APU_VERSION=1.6.1
CONFIG="--enable-mods-shared=reallyall"
- APU_CONFIG="--with-crypto"
+ APU_CONFIG="--with-crypto --with-ldap"
# -------------------------------------------------------------------------
- name: Linux Ubuntu, APR 1.7.0, APR-util 1.6.1
env: APR_VERSION=1.7.0 APU_VERSION=1.6.1
CONFIG="--enable-mods-shared=reallyall"
- APU_CONFIG="--with-crypto"
+ APU_CONFIG="--with-crypto --with-ldap"
# -------------------------------------------------------------------------
- name: Linux Ubuntu, APR 1.7.x, APR-util 1.7.x
env: APR_VERSION=1.7.x APU_VERSION=1.7.x
CONFIG="--enable-mods-shared=reallyall"
- APU_CONFIG="--with-crypto"
+ APU_CONFIG="--with-crypto --with-ldap"
CLEAR_CACHE=1
# -------------------------------------------------------------------------
- name: Linux Ubuntu, APR 1.7.0 --enable-pool-debug, APR-util 1.6.1
env: APR_VERSION=1.7.0 APR_CONFIG="--enable-pool-debug"
- APU_VERSION=1.6.1 APU_CONFIG="--with-crypto"
+ APU_VERSION=1.6.1 APU_CONFIG="--with-crypto --with-ldap"
CONFIG="--enable-mods-shared=reallyall"
TEST_MALLOC=1
# -------------------------------------------------------------------------
+ - name: Linux Ubuntu, APR 1.7.0, APR-util 1.6.1, pool-debug, LDAP
+ env: APR_VERSION=1.7.0 APR_CONFIG="--enable-pool-debug"
+ APU_VERSION=1.6.1 APU_CONFIG="--with-crypto --with-ldap"
+ CONFIG="--enable-mods-shared=reallyall"
+ TEST_MALLOC=1 TEST_LDAP=1 TEST_ARGS="-defines LDAP"
+ TESTS="t/modules/"
+ # -------------------------------------------------------------------------
- name: Linux Ubuntu, litmus WebDAV tests
env: CONFIG="--enable-dav --enable-dav-fs"
- LITMUS=1 TEST_ARGS="t/modules/dav.t"
+ LITMUS=1 TESTS="t/modules/dav.t"
addons:
apt:
update: false
env: CONFIG="--enable-mods-shared=reallyall"
- arch: ppc64le
env: CONFIG="--enable-mods-shared=reallyall"
- # gcc 9 repo currently broken
- - env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode NOTEST_CFLAGS=-Werror CC=gcc-9"
- SKIP_TESTING=1
# CPAN modules are to be used with the system Perl and always with
# CC=gcc, e.g. for the CC="gcc -m32" case the builds are not correct
script:
- ./test/travis_run_${TRAVIS_OS_NAME}.sh
+# Send notifications by default to IRC and dev@, for everything but
+# forks, otherwise any build from a fork will spam the list with CI
+# results.
notifications:
- irc: "chat.freenode.net#httpd-dev"
- # Disabled to avoid too many failure emails to dev@,
- # some builds occasionally fail.
+ irc:
+ if: fork = false
+ channels:
+ - "chat.freenode.net#httpd-dev"
email:
- - dev@httpd.apache.org
+ if: fork = false
+ recipients:
+ - dev@httpd.apache.org