summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:18:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:18:05 +0000
commitb46aad6df449445a9fc4aa7b32bd40005438e3f7 (patch)
tree751aa858ca01f35de800164516b298887382919d /.travis.yml
parentInitial commit. (diff)
downloadhaproxy-b46aad6df449445a9fc4aa7b32bd40005438e3f7.tar.xz
haproxy-b46aad6df449445a9fc4aa7b32bd40005438e3f7.zip
Adding upstream version 2.9.5.upstream/2.9.5
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml54
1 files changed, 54 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..7f5110e
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,54 @@
+dist: focal
+
+language: c
+
+branches:
+ only:
+ - master
+
+env:
+ global:
+ - FLAGS="USE_LUA=1 USE_OPENSSL=1 USE_PCRE=1 USE_PCRE_JIT=1 USE_SYSTEMD=1 USE_ZLIB=1"
+ - TMPDIR=/tmp
+
+addons:
+ apt:
+ update: true
+ packages: [ liblua5.3-dev, libsystemd-dev, libpcre2-dev, socat, libpcre3-dev ]
+
+matrix:
+ include:
+ - os: linux
+ arch: ppc64le
+ compiler: gcc
+ if: type == cron
+# - os: linux
+# arch: arm64
+# compiler: gcc
+# if: type == cron
+ - os: linux
+ arch: arm64-graviton2
+ group: edge
+ virt: vm
+ compiler: gcc
+ if: type == cron
+ - os: linux
+ arch: s390x
+ compiler: gcc
+ if: type == cron
+
+install:
+ - scripts/build-vtest.sh
+
+script:
+ - make -j$(nproc) ERR=1 TARGET=linux-glibc CC=$CC DEBUG=-DDEBUG_STRICT=1 $FLAGS
+ - ./haproxy -vv
+ - ldd haproxy
+ - make reg-tests VTEST_PROGRAM=../vtest/vtest REGTESTS_TYPES=default,bug,devel
+
+after_failure:
+ - |
+ for folder in ${TMPDIR}/*regtest*/vtc.*; do
+ cat $folder/INFO
+ cat $folder/LOG
+ done