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.
pull/55/head
Adrian Perez de Castro 2016-08-18 18:54:41 +03:00
parent 5e621202bd
commit 0a8450c812
No known key found for this signature in database
GPG Key ID: 91C559DBE4C9123B
1 changed files with 2 additions and 4 deletions

View File

@ -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}