Ilya Shipitsin | 8a9d55b | 2019-04-17 12:41:13 +0500 | [diff] [blame] | 1 | sudo: required |
| 2 | dist: xenial |
| 3 | |
| 4 | language: c |
| 5 | |
| 6 | matrix: |
| 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 | |
| 18 | install: |
| 19 | - git clone https://github.com/VTest/VTest.git ../vtest |
| 20 | - make -C ../vtest |
| 21 | |
| 22 | script: |
| 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" |