blob: c8937f3774592273f1aa51cb76a1a1f67e68bbf0 [file] [log] [blame]
Ilya Shipitsin8a9d55b2019-04-17 12:41:13 +05001sudo: required
2dist: xenial
3
4language: c
5
6matrix:
7 include:
8# - os: linux
9# compiler: gcc
10# env: TARGET=linux2628
11 - os: linux
12 compiler: clang
13 env: TARGET=linux2628 USE_THREAD=1 USE_OPENSSL=1 USE_PCRE=1 USE_ZLIB=1 USE_GETADDRINFO=1
14# - os: osx
15# compiler: clang
16# env: TARGET=osx SSL_LIB=/usr/local/opt/openssl/lib SSL_INC=/usr/local/opt/openssl/include TMPDIR=/var/tmp
17
18install:
19 - git clone https://github.com/VTest/VTest.git ../vtest
20 - make -C ../vtest
21
22script:
23 - make CC=$CC V=1 TARGET=$TARGET USE_THREAD=${USE_THREAD} USE_OPENSSL=${USE_OPENSSL} USE_PCRE=${USE_PCRE} USE_ZLIB=${USE_ZLIB} USE_GETADDRINFO=${USE_GETADDRINFO}
24 - make reg-tests PATH=${PATH}:${PWD}/../vtest VTEST_PROGRAM="../vtest/vtest -v"