Skip to content

Commit

Permalink
.travis.yml: Add sentinel job
Browse files Browse the repository at this point in the history
This makes Python 3.6 the sentinel job,
so it runs by itself initially and causes
all other jobs to be cancelled if it fails.
  • Loading branch information
jayvdb committed Jun 19, 2018
1 parent a66a8b8 commit ad931a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ language: python
python:
- 3.4
- 3.5
- 3.6

stages:
- sentinel
- test
- moban
- name: unsupported
Expand All @@ -26,7 +26,12 @@ stages:
if: branch != master OR type = pull_request

jobs:
# Any pending jobs will be cancelled if the sentinel job fails
fast_finish: true
include:
- stage: sentinel
python: 3.6

- python: 2.7
stage: unsupported
env: PIP_NO_COMPILE=1
Expand Down

0 comments on commit ad931a4

Please sign in to comment.