Travis: add baseline stage
Fixes https://github.com/pytest-dev/pytest/issues/3876.
This commit is contained in:
parent
9620b167d9
commit
cdc72bf5a3
14
.travis.yml
14
.travis.yml
|
@ -1,7 +1,7 @@
|
|||
sudo: false
|
||||
language: python
|
||||
stages:
|
||||
- linting
|
||||
- baseline
|
||||
- test
|
||||
- name: deploy
|
||||
if: repo = pytest-dev/pytest AND tag IS present
|
||||
|
@ -15,9 +15,6 @@ env:
|
|||
- TOXENV=coveralls
|
||||
# note: please use "tox --listenvs" to populate the build matrix below
|
||||
# please remove the linting env in all cases
|
||||
- TOXENV=py27
|
||||
- TOXENV=py34
|
||||
- TOXENV=py36
|
||||
- TOXENV=py27-pexpect
|
||||
- TOXENV=py27-xdist
|
||||
- TOXENV=py27-trial
|
||||
|
@ -45,6 +42,12 @@ jobs:
|
|||
sudo: required
|
||||
dist: xenial
|
||||
|
||||
- stage: baseline
|
||||
env: TOXENV=py27
|
||||
- env: TOXENV=py34
|
||||
- env: TOXENV=py36
|
||||
- env: TOXENV=linting
|
||||
|
||||
- stage: deploy
|
||||
python: '3.6'
|
||||
env:
|
||||
|
@ -60,9 +63,6 @@ jobs:
|
|||
on:
|
||||
tags: true
|
||||
repo: pytest-dev/pytest
|
||||
- stage: linting
|
||||
python: '3.6'
|
||||
env: TOXENV=linting
|
||||
|
||||
script: tox --recreate
|
||||
|
||||
|
|
Loading…
Reference in New Issue