
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/
39 lines
762 B
YAML
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}
|