Skip to content

Commit c8bc368

Browse files
committed
Skip deploy stage unless building a tag
1 parent 7dbb811 commit c8bc368

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ script:
1414
after_success:
1515
- coveralls
1616

17+
stages:
18+
- test
19+
- name: deploy
20+
if: repo = pytest-dev/pytest-mock AND tag IS present
21+
1722
jobs:
1823
include:
1924
- python: '3.7'

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ build: false # Not a C# project
55

66
test_script:
77
- C:\Python36\scripts\tox
8+
9+
skip_tags: true

0 commit comments

Comments
 (0)