CI: Build the module dynamically as well
parent
0fd28d123e
commit
7dd46a6dd2
15
.travis.yml
15
.travis.yml
|
@ -5,12 +5,15 @@ compiler:
|
|||
- gcc
|
||||
|
||||
env:
|
||||
# At least try stable and mainline versions
|
||||
- NGINX=1.10.0 TYPE=dynamic
|
||||
- NGINX=1.9.15 TYPE=dynamic
|
||||
- NGINX=1.8.1 TYPE=static
|
||||
# Mainline
|
||||
- NGINX=1.11.3
|
||||
- NGINX=1.9.11
|
||||
- NGINX=1.11.3 DYNAMIC=1
|
||||
# Stable
|
||||
- NGINX=1.10.1
|
||||
- NGINX=1.10.1 DYNAMIC=1
|
||||
# Other configurations
|
||||
- NGINX=1.9.15
|
||||
- NGINX=1.9.15 DYNAMIC=1
|
||||
- NGINX=1.8.1
|
||||
# Also, the oldest supported version
|
||||
# TODO: Fails building because it won't find IOV_MAX from header.
|
||||
|
@ -29,5 +32,5 @@ cache: ccache
|
|||
script: |
|
||||
wget -O - http://nginx.org/download/nginx-${NGINX}.tar.gz | tar -xzf -
|
||||
cd nginx-${NGINX}
|
||||
if [[ ${TYPE} = "dynamic" ]] ; then ./configure --add-dynamic-module=.. --with-http_addition_module ; else ./configure --add-module=.. --with-http_addition_module ; fi
|
||||
./configure --add-${DYNAMIC:+dynamic-}module=.. --with-http_addition_module
|
||||
make
|
||||
|
|
Loading…
Reference in New Issue