YML changes to travis.yml

Ref: https://config.travis-ci.com/explore
This commit is contained in:
Mitchell Krog 2020-03-10 14:17:53 +02:00
parent bf8da56826
commit 51b1b949b9
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43

View file

@ -1,3 +1,5 @@
os: linux
language: ruby
dist: bionic dist: bionic
env: env:
@ -8,17 +10,17 @@ env:
- TRAVIS_REPO_SLUG: mitchellkrogza/nginx-ultimate-bad-bot-blocker - TRAVIS_REPO_SLUG: mitchellkrogza/nginx-ultimate-bad-bot-blocker
- GIT_BRANCH: master - GIT_BRANCH: master
matrix: jobs:
fast_finish: true fast_finish: true
before_install:
- export TZ=Africa/Johannesburg
addons: addons:
apt: apt:
packages: packages:
- mailutils - mailutils
before_install:
- export TZ=Africa/Johannesburg
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
@ -66,21 +68,12 @@ before_deploy:
deploy: deploy:
provider: releases provider: releases
api_key: token: ${GH_TOKEN}
secure: ${GH_TOKEN} file: "FILE TO UPLOAD"
file: cleanup: true
- .latest_release/conf.d.tar.gz
- .latest_release/bots.d.tar.gz
skip_cleanup: true
on: on:
repo: mitchellkrogza/nginx-ultimate-bad-bot-blocker tags: true
tags: false
branches:
only:
- "master"
except:
- "/^v[0-9]/"
- "/^V.*$/"
notifications: notifications:
on_success: change on_success: change
on_failure: always on_failure: always