From 0a8450c812b7d8b9acbd54120e3e66d35b8508e6 Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Thu, 18 Aug 2016 18:54:41 +0300 Subject: [PATCH] Travis-CI: Use the t/build-and-run script This ensures that Travis-CI uses the same commands for building and testing as developers are encouraged to. --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 16c86fb..d523468 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,5 @@ addons: cache: ccache script: - - wget -O - http://nginx.org/download/nginx-${NGINX}.tar.gz | tar -xzf - - - rm -rf prefix/ - - ( cd nginx-${NGINX} && ./configure --add-${DYNAMIC:+dynamic-}module=.. --with-http_addition_module --prefix="$(pwd)/../prefix" && make install ) - - ./t/run "$(pwd)/prefix" ${DYNAMIC} + - echo "NGINX=${NGINX} ${DYNAMIC:+DYNAMIC=${DYNAMIC}}" + - t/build-and-run ${NGINX} ${DYNAMIC}