Travis-CI: Use individual script steps, to allow collapsing them in the log

pull/55/head
Adrian Perez de Castro 2016-08-17 13:40:27 +03:00
parent 85ad712764
commit 3c70b9f5c8
No known key found for this signature in database
GPG Key ID: 91C559DBE4C9123B
1 changed files with 5 additions and 8 deletions

View File

@ -29,11 +29,8 @@ 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
cd ..
./t/run "$(pwd)/prefix" ${DYNAMIC}
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}