forked from mitchellkrogza/apache-ultimate-bad-bot-blocker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (49 loc) · 1.74 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
os: linux
language: ruby
dist: bionic
env:
global:
- secure: j4hwh5XrHRSAjjVYIxS7l3Rj+lnvIRHSBgqVc2nQvKrYIDU91bsqhE3SfFrYVTga447KSHYqrPgUWk18my2myjoKZntb/zWfveEvD62fOQeAzxwLSsSV5W1hekYmntBcFG+mkEeENpaVLJ/YoPuRIQeLPQDNaEaB8lLlR3NU6MNmUvJxoPpES8K9brL7nBcw349raspuJzEjObUJFU1IWWsv1PNCueksBWHtS5mGrMfqpzvu+C22djKi/ooAhG1LkCcV88czLhs3dGYB3+q6ZCr54cP/gB6vrSv8WnNEEI3NneMeiH1fFm3sLI2v+ECA/SVTPJfbG7n5ww+Whcsyp88ECRCisgdOR7RoBbdFO4WDNsXvl+865iQkXrEaaskQ7CJuXHy89gHYA6JmshKqerW5CY3wgvM2dDqyYQCVuwFmvOkG9p0+FVg/lvjVm1XiltQA/G2OTwfhJZ+FtA/NlR0inQRMc3X1Uh/0lGvPfQ0lbaf7T537mmL1bcOZuw15jW/FoDzXFhmloOYzJoZWFG8m1KYcLbZ9X4zprcxDlKR5IBa0vwgtjVasQ8grgDoxqvUFJdeiFQPmZuiy87un9Ao/+o1W7UpTgqyCGhMM+K0TB3myAQSGFV3NKE4jmNaZ79nLVPhPSooBdM+193aaI7KSCsZI9OTnkrRpnvCVMeo=
- GIT_NAME: Travis CI
- GIT_EMAIL: [email protected]
- TRAVIS_REPO_SLUG: mitchellkrogza/apache-ultimate-bad-bot-blocker
- GIT_BRANCH: master
- TZ: Africa/Johannesburg
jobs:
fast_finish: true
addons:
apt:
packages:
- mailutils
hosts:
- local.dev
cache:
- apt
script:
- bash .dev-tools/generate-files.sh
- bash .dev-tools/install-apache-2.2.sh
- bash .dev-tools/test-blocker-quick.sh
- bash .dev-tools/install-apache-2.4.sh
- bash .dev-tools/test-blocker-quick.sh
- bash .dev-tools/modify-files-and-commit.sh
before_deploy:
- bash .dev-tools/deploy-package.sh
deploy:
provider: releases
token: ${GH_TOKEN}
file:
- .latest_release/Apache_2.2.tar.gz
- .latest_release/Apache_2.4.tar.gz
cleanup: true
on:
repo: mitchellkrogza/apache-ultimate-bad-bot-blocker
tags: false
branches:
only:
- "master"
except:
- "/^v[0-9]/"
- "/^V.*$/"
notifications:
on_success: change
on_failure: always