I attached v2 patch ср, 17 апр. 2019 г. в 12:25, Илья Шипицин <[email protected]>:
> > > ср, 17 апр. 2019 г. в 12:18, Frederic Lecaille <[email protected]>: > >> On 4/16/19 8:17 PM, Илья Шипицин wrote: >> > + - make CC=$CC V=1 TARGET=$TARGET >> > + - export PATH=${PATH}:${PWD}/VTest >> > + - export VTEST_PROGRAM="VTest/vtest -v" # "VTest/vtest -v" >> >> Just to let you note that if you build vtest in the same directory as >> haproxy ones >> >> > + - make reg-tests >> >> with this command you will run all the tests for vtest itself present in >> VTest/tests directory. >> > > we can save some cpu time on travis-ci if we will exclude thoses tests. we > do not want to test vtest itself > > >> >> >> Fred. >> >
From 32ef6493c08e7cbfdda7d0c827d1e5ea0609ddab Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin <[email protected]> Date: Wed, 17 Apr 2019 12:41:13 +0500 Subject: [PATCH] FEATURE/MEDIUM: travis-ci builds enabled. currently only xenial/clang build is enabled. osx and xenial/gcc will be enabled later travis-ci is cloud based continuos integration, builds will be started automatically if they are enabled for certain repo or fork. Signed-off-by: Ilya Shipitsin <[email protected]> --- .travis.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..c8937f37 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +sudo: required +dist: xenial + +language: c + +matrix: + include: +# - os: linux +# compiler: gcc +# env: TARGET=linux2628 + - os: linux + compiler: clang + env: TARGET=linux2628 USE_THREAD=1 USE_OPENSSL=1 USE_PCRE=1 USE_ZLIB=1 USE_GETADDRINFO=1 +# - os: osx +# compiler: clang +# env: TARGET=osx SSL_LIB=/usr/local/opt/openssl/lib SSL_INC=/usr/local/opt/openssl/include TMPDIR=/var/tmp + +install: + - git clone https://github.com/VTest/VTest.git ../vtest + - make -C ../vtest + +script: + - 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} + - make reg-tests PATH=${PATH}:${PWD}/../vtest VTEST_PROGRAM="../vtest/vtest -v" -- 2.20.1

