You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2021/08/16 13:11:25 UTC

svn commit: r1892374 - /apr/apr/trunk/.travis.yml

Author: jorton
Date: Mon Aug 16 13:11:25 2021
New Revision: 1892374

URL: http://svn.apache.org/viewvc?rev=1892374&view=rev
Log:
Add minimal Travis CI configuration (no notifications currently).

Github: closes #27

Added:
    apr/apr/trunk/.travis.yml

Added: apr/apr/trunk/.travis.yml
URL: http://svn.apache.org/viewvc/apr/apr/trunk/.travis.yml?rev=1892374&view=auto
==============================================================================
--- apr/apr/trunk/.travis.yml (added)
+++ apr/apr/trunk/.travis.yml Mon Aug 16 13:11:25 2021
@@ -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