Skip to content

Commit c50db7a

Browse files
committed
Add minimal Travis CI configuration (no notifications currently).
Github: closes #27 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1892374 13f79535-47bb-0310-9956-ffa450edef68
1 parent cbd0a18 commit c50db7a

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.travis.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
language: c
2+
os: linux
3+
dist: bionic
4+
addons:
5+
apt:
6+
packages:
7+
- libtool-bin
8+
env:
9+
global:
10+
- MARGS="-j2"
11+
matrix:
12+
include:
13+
- name: Default
14+
- name: Static
15+
env: CONFIG="--enable-static"
16+
- name: Maintainer-mode
17+
env: CONFIG="--enable-maintainer-mode"
18+
- name: Pool-debug
19+
env: CONFIG="--enable-pool-debug"
20+
- name: Pool-debug, maintainer-mode
21+
env: CONFIG="--enable-pool-debug --enable-maintainer-mode"
22+
- name: Maintainer-mode, no IPv6
23+
env: CONFIG="--enable-maintainer-mode --disable-ipv6"
24+
- name: Maintainer-mode, -Werror
25+
env: NOTEST_CFLAGS=-Werror CONFIG="--enable-maintainer-mode"
26+
- name: Maintainer-mode, -Werror (Bionic)
27+
dist: bionic
28+
env: NOTEST_CFLAGS=-Werror CONFIG="--enable-maintainer-mode"
29+
- name: Maintainer-mode, -Werror (Focal)
30+
dist: focal
31+
env: NOTEST_CFLAGS=-Werror CONFIG="--enable-maintainer-mode"
32+
33+
before_script: sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'
34+
35+
script: ./buildconf && ./configure $CONFIG && make $MARGS && make check

0 commit comments

Comments
 (0)