nginx-wo/.travis.yml

32 lines
843 B
YAML

language: bash
dist: xenial
before_install:
- rm -rf ~/.gnupg
before_script:
- sudo apt-get -qq autoremove
- sudo apt-get update
script:
- lsb_release -a
- sudo echo "Travis Banch = $TRAVIS_BRANCH"
- sudo apt-get install -y --force-yes git nginx curl wget
- export NGINX_RELEASE="1"
- sudo bash nginx-build.sh $TRAVIS_BRANCH
- sudo bash -c 'tail -n 50 /tmp/nginx-ee.log'
- export NGINX_RELEASE="2"
- sudo bash nginx-build.sh $TRAVIS_BRANCH
- sudo bash -c 'tail -n 50 /tmp/nginx-ee.log'
- export NGINX_RELEASE="1"
- export PAGESPEED="y"
- export NAXSI="y"
- export RTMP="y"
- sudo bash nginx-build.sh $TRAVIS_BRANCH
- sudo bash -c 'tail -n 50 /tmp/nginx-ee.log'
- export NGINX_RELEASE="2"
- export PAGESPEED="y"
- export NAXSI="y"
- export RTMP="y"
- sudo bash -c 'tail -n 50 /tmp/nginx-ee.log'