summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2022-01-05 13:50:39 +0000
committerJoe Orton <jorton@apache.org>2022-01-05 13:50:39 +0000
commitea6dad9f9a9a91bc457f38815fe5f686f178aac5 (patch)
tree7cadcdb1386ba2488d33d7a46a8d8fbaa7898ed4
parentc9633b67197d6881571125b2f67afbc7f90597d3 (diff)
downloadapr-ea6dad9f9a9a91bc457f38815fe5f686f178aac5.tar.gz
Merge r1892374 from trunk:
Add minimal Travis CI configuration (no notifications currently). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1896713 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--.travis.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..2ac489f0e
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,35 @@
+language: c
+os: linux
+dist: bionic
+addons:
+ apt:
+ packages:
+ - libtool-bin
+env:
+ global:
+ - MARGS="-j2"
+matrix:
+ include:
+ - name: Default
+ - name: Static
+ env: CONFIG="--enable-static"
+ - name: Maintainer-mode
+ env: CONFIG="--enable-maintainer-mode"
+ - name: Pool-debug
+ env: CONFIG="--enable-pool-debug"
+ - name: Pool-debug, maintainer-mode
+ env: CONFIG="--enable-pool-debug --enable-maintainer-mode"
+ - name: Maintainer-mode, no IPv6
+ env: CONFIG="--enable-maintainer-mode --disable-ipv6"
+ - name: Maintainer-mode, -Werror
+ env: NOTEST_CFLAGS=-Werror CONFIG="--enable-maintainer-mode"
+ - name: Maintainer-mode, -Werror (Bionic)
+ dist: bionic
+ env: NOTEST_CFLAGS=-Werror CONFIG="--enable-maintainer-mode"
+ - name: Maintainer-mode, -Werror (Focal)
+ dist: focal
+ env: NOTEST_CFLAGS=-Werror CONFIG="--enable-maintainer-mode"
+
+before_script: sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'
+
+script: ./buildconf && ./configure $CONFIG && make $MARGS && make check