Create 'baseline' stage for fast-failure of builds, similar to pytest
This commit is contained in:
13
.travis.yml
13
.travis.yml
@@ -21,23 +21,26 @@ env:
|
|||||||
- TOXENV=py-pytest31
|
- TOXENV=py-pytest31
|
||||||
- TOXENV=py-pytest32
|
- TOXENV=py-pytest32
|
||||||
- TOXENV=py-pytest33
|
- TOXENV=py-pytest33
|
||||||
- TOXENV=py-pytestlatest
|
|
||||||
|
|
||||||
install: pip install tox setuptools_scm
|
install: pip install tox setuptools_scm
|
||||||
script: tox
|
script: tox
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- linting
|
- baseline
|
||||||
- test
|
- test
|
||||||
- name: deploy
|
- name: deploy
|
||||||
if: repo = pytest-dev/pytest-xdist AND tag IS present
|
if: repo = pytest-dev/pytest-xdist AND tag IS present
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: linting
|
- stage: baseline
|
||||||
python: '3.6'
|
python: '3.6'
|
||||||
script:
|
env: TOXENV=linting
|
||||||
- tox -e linting
|
- python: '3.6'
|
||||||
|
env: TOXENV=py36-pytestlatest
|
||||||
|
- python: '2.7'
|
||||||
|
env: TOXENV=py27-pytestlatest
|
||||||
|
|
||||||
- stage: test
|
- stage: test
|
||||||
# python x env above are already included into this stage
|
# python x env above are already included into this stage
|
||||||
- python: "2.7"
|
- python: "2.7"
|
||||||
|
|||||||
Reference in New Issue
Block a user