blob: 66ec54bc72d27161d4fb5cc14e1a8b07bc0d677c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
language: c
os:
- linux
cache:
directories:
- /home/travis/perl5
addons:
apt:
packages:
- libtool-bin
- libapr1-dev
- libaprutil1-dev
- perl-doc
- lua5.3-dev
- libbrotli-dev
- libcurl4-openssl-dev
- libsystemd-dev
- libnghttp2-dev
- libjansson-dev
matrix:
include:
- name: Default module set
- name: Default, all-modules
env: CONFIG="--enable-mods-shared=reallyall --enable-load-all-modules"
- name: Prefork MPM, all-modules
env: CONFIG="--enable-mods-shared=reallyall --enable-load-all-modules --with-mpm=prefork"
- name: Bionic, all-modules
os: linux
dist: bionic
env: CONFIG="--enable-mods-shared=reallyall --enable-load-all-modules"
- name: 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"
SKIP_TESTING=1
- name: 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"
SKIP_TESTING=1
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-8
- libtool-bin
- libapr1-dev
- libaprutil1-dev
- perl-doc
- lua5.3-dev
- libbrotli-dev
- libcurl4-openssl-dev
- libsystemd-dev
- libnghttp2-dev
- libjansson-dev
before_install:
- cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
- cpanm --notest Net::SSL LWP::Protocol::https ExtUtils::Embed Test::More AnyEvent DateTime
HTTP::DAV Protocol::HTTP2::Client FCGI
before_script:
- svn export -q https://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr
- test -v SKIP_TESTING || svn export -q https://svn.apache.org/repos/asf/httpd/test/framework/trunk test/perl-framework
script:
- ./buildconf
- test -v SKIP_TESTING || CONFIG="--with-test-suite=test/perl-framework $CONFIG"
- ./configure $CONFIG --with-apr=/usr --with-apr-util=/usr
- make $MAKEFLAGS -j2
- test -v SKIP_TESTING || make check
|