Skip to content

Commit

Permalink
.travis.yml: Add disable_global
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb authored and gitmate-bot committed Jul 7, 2018
1 parent 4f16165 commit 9f816e3
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,30 @@ python:
- 3.5
- 3.6

.disable_global: &disable_global
addons: false
cache: pip
before_install: false
install: false
before_script: false
script: false
after_success: false
after_failure: false
before_deploy: false
deploy: false

stages:
- test
- moban
- name: unsupported
if: branch = master AND type = push

.check_moban: &check_moban
<<: *disable_global
python: 3.6
stage: moban
addons: false
cache: pip
before_install: false
install: pip install moban
before_script: false
script: .ci/check_moban.sh
after_success: false
after_failure: false
if: branch != master OR type = pull_request

jobs:
Expand Down

0 comments on commit 9f816e3

Please sign in to comment.