forked from mitchellkrogza/nginx-ultimate-bad-bot-blocker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
74 lines (66 loc) · 2.2 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
addons:
apt:
packages:
- realpath
- mailutils
cache:
- apt
dist: xenial
env:
global:
- secure: unp8irwVXz37jxOFbuM4NciRaq326XktPJP0UuL5m1qdrGiLQVq18cIuXClkxbnCoXzpkL0gG1XdjaD0bRKWAnwRRZBEKDRBYXyF+IcGCfG1k8HUbZoV1OTP21qUXot70YrTiZJ3NkuS32RJdFV9qRAkaM1Srf+ZRHcsZSdXaSJTooMsDLtqk9Bjh9aHEltRCDS0AT2YPANZLW4Yn2QcwBmPhv+3xNxRt2etbl1EYvjYGbKw31JJnMHvS15DJEY52coJ+n4Yw/EI9My4O9TshrAEHeWwXT+dGACdNTD9lXkohuEyc10bgWTGeD5jytm5mbVbzlML3iro0sq6gNWr1iBzGL+FkWSR0ezkbADcnxoUwZa7OHwOPcrzmgkNp6jouGk6Xhl7NQgfwJJtQYPWfOuXIVNUk1Z2Ein/lw2WMzGmEHrqs1x2gIrD83sKqULT3kZBWr4RfhUPjol+V0MZJ+KCW2yo+2C8lZDQ5LWxftoqnG/ia70nFemWsyHSqe2OvN4WfwW9zdS0kRqMZVq/r3R+y0idacFkvO5yXk7cS45tAawIUK5Ipc3fib/ERv8zoDjcIt136hXhlYo44vPr2oprDnyvLcCbdG0A4uCnPpp3Bdbcn2NqIlsXhzBV+YJokaTv5zfWSH2YX6+wdv0C3+dkFjpZaASVg/R7oxg/oXY=
- GIT_NAME: Travis CI
- GIT_EMAIL: [email protected]
- TRAVIS_REPO_SLUG: mitchellkrogza/nginx-ultimate-bad-bot-blocker
- GIT_BRANCH: master
sudo: required
language: php
matrix:
include:
- php: 7.0
allow_failures:
- php: 7.0
- php: hhvm
fast_finish: true
before_install:
- export TZ=Africa/Johannesburg
install:
- sudo add-apt-repository -y ppa:nginx/stable
- sudo apt-get update
- sudo apt-get install -y --assume-yes nginx-extras
- sudo apt-get -y install dos2unix
script:
- bash .dev-tools/pull-data.sh
- bash .dev-tools/generate-files.sh
- bash .dev-tools/install-nginx-1.sh
- bash .dev-tools/run-curl-tests-1.sh
- bash .dev-tools/install-nginx-2.sh
- bash .dev-tools/run-curl-tests-2.sh
- bash .dev-tools/install-nginx-3.sh
- bash .dev-tools/run-curl-tests-3.sh
- bash .dev-tools/install-nginx-4.sh
- bash .dev-tools/run-curl-tests-4.sh
- bash .dev-tools/modify-files-and-commit.sh
before_deploy:
- bash .dev-tools/deploy-package.sh
deploy:
provider: releases
api_key:
secure: ${GH_TOKEN}
file:
- .latest_release/conf.d.tar.gz
- .latest_release/bots.d.tar.gz
skip_cleanup: true
on:
repo: mitchellkrogza/nginx-ultimate-bad-bot-blocker
tags: false
branches:
except:
- "/^v[0-9]/"
- "/^V.*$/"
branches:
only:
- "master"
notifications:
on_success: change
on_failure: always