From 3c70b9f5c8f5425b6635fc82d9dec6cbe1c64b60 Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Wed, 17 Aug 2016 13:40:27 +0300 Subject: [PATCH] Travis-CI: Use individual script steps, to allow collapsing them in the log --- .travis.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 364ab9a..16c86fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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}