ngx-fancyindex/.travis.yml
2016-05-23 23:38:00 +02:00

30 lines
685 B
YAML

language: c
compiler:
- clang
- 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
# Also, the oldest supported version
# TODO: Fails building because it won't find IOV_MAX from header.
#- NGINX=0.7.69
sudo: false
addons:
apt:
packages:
- libpcre3-dev
- libssl-dev
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
make