mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 01:14:38 +00:00
632cae2b11
cirrus ci builds are now limited to branches master, next travis-ci images are upgraded to ubuntu bionic cygwin builds are temporarily disabled on travis-ci (maybe someone will figure out how to fix them, here's link https://travis-ci.community/t/cygwin-issue-cygheap-base-mismatch-detected/5359/2 ) openssl upgraded to 1.0.2t, 1.1.0l, 1.1.1d libressl are upgraded (2.9.2, 2.8.3, 2.7.5) --> (3.0.2, 2.9.2, 2.8.3)
32 lines
1.4 KiB
YAML
32 lines
1.4 KiB
YAML
FreeBSD_task:
|
|
freebsd_instance:
|
|
image: freebsd-12-0-release-amd64
|
|
only_if: $CIRRUS_BRANCH =~ 'master|next'
|
|
env:
|
|
ASSUME_ALWAYS_YES: TRUE # required for unattended "pkg" invocation
|
|
script:
|
|
- pkg install openssl111 git gmake lua53
|
|
- git clone https://github.com/VTest/VTest.git ../vtest
|
|
- make -C ../vtest
|
|
- gmake CC=clang V=1 TARGET=freebsd USE_ZLIB=1 USE_PCRE=1 USE_OPENSSL=1 USE_LUA=1 LUA_INC=/usr/local/include/lua53 LUA_LIB=/usr/local/lib LUA_LIB_NAME=lua-5.3
|
|
- ./haproxy -vv
|
|
- ldd haproxy
|
|
- env VTEST_PROGRAM=../vtest/vtest gmake reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)
|
|
|
|
centos_6_task:
|
|
container:
|
|
image: centos:centos6
|
|
only_if: $CIRRUS_BRANCH =~ 'master|next'
|
|
script:
|
|
- yum install -q -y gcc git openssl-devel pcre-devel epel-release
|
|
- yum install -q -y python34
|
|
- git clone https://github.com/VTest/VTest.git ../vtest
|
|
# Special flags due to: https://github.com/vtest/VTest/issues/12
|
|
- make -C ../vtest FLAGS="-O2 -s -Wall -lrt"
|
|
- make CC=cc V=1 TARGET=linux-glibc-legacy USE_ZLIB=1 USE_PCRE=1 USE_OPENSSL=1
|
|
- ./haproxy -vv
|
|
- ldd haproxy
|
|
# remove alpn reg-test (CentOS 6 does not support alpn)
|
|
- rm reg-tests/connection/proxy_protocol_random_fail.vtc
|
|
- env VTEST_PROGRAM=../vtest/vtest make reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)
|