ngx-fancyindex/.travis.yml
Adrian Perez de Castro 501f9bc63c CI: Add script to fetch and validate a binary build of pup
The script downloads and validates the download against a built-in
list of known checksums for the release ZIP files.

More on pup: https://github.com/ericchiang/pup/
2018-07-03 02:16:45 +03:00

39 lines
762 B
YAML

language: c
compiler:
- clang
- gcc
env:
# Mainline.
- NGINX=1.15.0
- NGINX=1.15.0 DYNAMIC=1
# Stable.
- NGINX=1.14.0
- NGINX=1.14.0 DYNAMIC=1
# Other configurations.
- NGINX=1.12.2
- NGINX=1.12.2 DYNAMIC=1
- NGINX=1.10.3
# Version 1.9.15 was the first with loadable module support.
- 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.
#- NGINX=0.7.69
sudo: false
addons:
apt:
packages:
- libpcre3-dev
- libssl-dev
cache: ccache
script:
- echo "NGINX=${NGINX} ${DYNAMIC:+DYNAMIC=${DYNAMIC}}"
- t/get-pup || echo 'Tests needing pup will be skipped'
- t/build-and-run ${NGINX} ${DYNAMIC}