mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-03 19:20:16 +00:00
Tidy up travis.yml - add trusty required
This commit is contained in:
parent
d24fefed1a
commit
1c53dc485e
1 changed files with 2 additions and 10 deletions
12
.travis.yml
12
.travis.yml
|
@ -1,36 +1,28 @@
|
||||||
language: php
|
language: php
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- WEB_PORT_80_TCP_ADDR=localhost
|
- WEB_PORT_80_TCP_ADDR=localhost
|
||||||
|
sudo: required
|
||||||
|
dist: trusty
|
||||||
php:
|
php:
|
||||||
- 5.4
|
- 5.4
|
||||||
- 5.5
|
- 5.5
|
||||||
- 5.6
|
- 5.6
|
||||||
- 7.0
|
- 7.0
|
||||||
#- hhvm
|
|
||||||
|
|
||||||
#sudo: false
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- apt
|
- apt
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- realpath
|
- realpath
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo add-apt-repository -y ppa:nginx/stable
|
- sudo add-apt-repository -y ppa:nginx/stable
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get install -y --force-yes nginx-extras
|
- sudo apt-get install -y --force-yes nginx-extras
|
||||||
- travis/install-nginx.sh
|
- travis/install-nginx.sh
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- sudo nginx -t &> /dev/stdout
|
- sudo nginx -t &> /dev/stdout
|
||||||
- curl -vsf 'http://localhost:8080/nginx.php' &> /dev/stdout
|
- curl -vsf 'http://localhost:8080/nginx.php' &> /dev/stdout
|
||||||
|
|
Loading…
Add table
Reference in a new issue