From 3ca70692de997e8c1880472efc1e4e908d3fec44 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 29 Aug 2018 17:54:58 -0300 Subject: [PATCH] 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 https://github.com/pytest-dev/pytest/pull/3906#issuecomment-417094481, this will skip the "test" stage when building a tag for deployment. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f014a6174..3a384415a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,8 @@ sudo: false language: python stages: - baseline -- test +- name: test + if: repo = pytest-dev/pytest AND tag IS NOT present - name: deploy if: repo = pytest-dev/pytest AND tag IS present python: