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
parent
5e621202bd
commit
0a8450c812
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue