From 673fe9bd673d0e9c6e2b3af67ed5db8660196008 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 29 Oct 2018 19:01:34 -0300 Subject: [PATCH] Create 'baseline' stage for fast-failure of builds, similar to pytest --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7d693c8..4d6c3d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,23 +21,26 @@ env: - TOXENV=py-pytest31 - TOXENV=py-pytest32 - TOXENV=py-pytest33 -- TOXENV=py-pytestlatest install: pip install tox setuptools_scm script: tox stages: -- linting +- baseline - test - name: deploy if: repo = pytest-dev/pytest-xdist AND tag IS present jobs: include: - - stage: linting + - stage: baseline python: '3.6' - script: - - tox -e linting + env: TOXENV=linting + - python: '3.6' + env: TOXENV=py36-pytestlatest + - python: '2.7' + env: TOXENV=py27-pytestlatest + - stage: test # python x env above are already included into this stage - python: "2.7"