Skip to content

Commit 673fe9b

Browse files
committed
Create 'baseline' stage for fast-failure of builds, similar to pytest
1 parent 9217b80 commit 673fe9b

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.travis.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,26 @@ env:
2121
- TOXENV=py-pytest31
2222
- TOXENV=py-pytest32
2323
- TOXENV=py-pytest33
24-
- TOXENV=py-pytestlatest
2524

2625
install: pip install tox setuptools_scm
2726
script: tox
2827

2928
stages:
30-
- linting
29+
- baseline
3130
- test
3231
- name: deploy
3332
if: repo = pytest-dev/pytest-xdist AND tag IS present
3433

3534
jobs:
3635
include:
37-
- stage: linting
36+
- stage: baseline
3837
python: '3.6'
39-
script:
40-
- tox -e linting
38+
env: TOXENV=linting
39+
- python: '3.6'
40+
env: TOXENV=py36-pytestlatest
41+
- python: '2.7'
42+
env: TOXENV=py27-pytestlatest
43+
4144
- stage: test
4245
# python x env above are already included into this stage
4346
- python: "2.7"

0 commit comments

Comments
 (0)