language: c compiler: - clang - gcc env: # Mainline. - NGINX=1.19.3 - NGINX=1.19.3 DYNAMIC=1 # Stable. - NGINX=1.18.0 - NGINX=1.18.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 - NGINX=0.8.55 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}