CI: Build the module dynamically as well

pull/55/head
Adrian Perez de Castro 2016-08-17 11:22:26 +03:00
parent 0fd28d123e
commit 7dd46a6dd2
No known key found for this signature in database
GPG Key ID: 91C559DBE4C9123B
1 changed files with 9 additions and 6 deletions

View File

@ -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