CI: Install built Nginx ina prefix directory and invoke test harness

pull/55/head
Adrian Perez de Castro 2016-08-17 12:40:26 +03:00
parent 866a9e18a0
commit 3df2d5f715
No known key found for this signature in database
GPG Key ID: 91C559DBE4C9123B
1 changed files with 5 additions and 2 deletions

View File

@ -31,6 +31,9 @@ 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
make
./configure --add-${DYNAMIC:+dynamic-}module=.. --with-http_addition_module --prefix="$(pwd)/../prefix"
make install
cd ..
./t/run "$(pwd)/prefix" ${DYNAMIC}