CI: Install built Nginx ina prefix directory and invoke test harness
parent
866a9e18a0
commit
3df2d5f715
|
@ -31,6 +31,9 @@ cache: ccache
|
||||||
|
|
||||||
script: |
|
script: |
|
||||||
wget -O - http://nginx.org/download/nginx-${NGINX}.tar.gz | tar -xzf -
|
wget -O - http://nginx.org/download/nginx-${NGINX}.tar.gz | tar -xzf -
|
||||||
|
rm -rf prefix/
|
||||||
cd nginx-${NGINX}
|
cd nginx-${NGINX}
|
||||||
./configure --add-${DYNAMIC:+dynamic-}module=.. --with-http_addition_module
|
./configure --add-${DYNAMIC:+dynamic-}module=.. --with-http_addition_module --prefix="$(pwd)/../prefix"
|
||||||
make
|
make install
|
||||||
|
cd ..
|
||||||
|
./t/run "$(pwd)/prefix" ${DYNAMIC}
|
||||||
|
|
Loading…
Reference in New Issue