Skip to content

Commit 3ef20f3

Browse files
committed
travis: deploy if-and-only-if from 'master'
1 parent 7fc5f61 commit 3ef20f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ python:
44
- '3.7'
55
- '3.6'
66
- '3.5'
7+
- 3.9-dev
78
- 3.8-dev
89
- 3.7-dev
910
- 3.6-dev
@@ -23,14 +24,15 @@ notifications:
2324
email:
2425
on_success: change
2526
on_failure: change
27+
if: branch != master
2628
jobs:
2729
include:
2830
- stage: deploy
2931
python: 3.8
32+
if: branch = master
3033
deploy:
3134
provider: pypi
3235
user: __token__
33-
if: branch = master
3436
on:
3537
tags: true
3638
branch: master

0 commit comments

Comments
 (0)