blob: 5d387095480baa0c42117e9a242bcd710b181e33 [file] [log] [blame]
Ilya Shipitsinb396f4d2019-04-30 15:33:36 +05001FreeBSD_task:
2 freebsd_instance:
3 image: freebsd-12-0-release-amd64
4 env:
5 ASSUME_ALWAYS_YES: TRUE # required for unattended "pkg" invocation
6 script:
7 - pkg install openssl111 git gmake lua53
8 - git clone https://github.com/VTest/VTest.git ../vtest
9 - make -C ../vtest
10 - 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
11 - ./haproxy -vv
12 - ldd haproxy
13 - env VTEST_PROGRAM=../vtest/vtest gmake reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)
14
Ilya Shipitsinc886e592019-09-02 00:03:10 +050015centos_6_task:
16 container:
17 image: centos:centos6
18 script:
19 - yum install -q -y gcc git openssl-devel pcre-devel epel-release
20 - yum install -q -y python34
21 - git clone https://github.com/VTest/VTest.git ../vtest
22 # Special flags due to: https://github.com/vtest/VTest/issues/12
23 - make -C ../vtest FLAGS="-O2 -s -Wall -lrt"
24 - make CC=cc V=1 TARGET=linux-glibc-legacy USE_ZLIB=1 USE_PCRE=1 USE_OPENSSL=1
25 - ./haproxy -vv
26 - ldd haproxy
Ilya Shipitsinbd99f6d2019-09-06 23:18:14 +050027 # remove alpn reg-test (CentOS 6 does not support alpn)
28 - rm reg-tests/connection/proxy_protocol_random_fail.vtc
Ilya Shipitsinc886e592019-09-02 00:03:10 +050029 - env VTEST_PROGRAM=../vtest/vtest make reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)