Skip to content

Commit 3ca7069

Browse files
committed
Skip the "test" stage when making a release
Given that our guidelines demand that the CI have already passed, it seems wasteful to run all those jobs again for the exact same commit. As discussed in #3906 (comment), this will skip the "test" stage when building a tag for deployment.
1 parent d76fb83 commit 3ca7069

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ sudo: false
22
language: python
33
stages:
44
- baseline
5-
- test
5+
- name: test
6+
if: repo = pytest-dev/pytest AND tag IS NOT present
67
- name: deploy
78
if: repo = pytest-dev/pytest AND tag IS present
89
python:

0 commit comments

Comments
 (0)