Travis: add baseline stage

Fixes https://github.com/pytest-dev/pytest/issues/3876.
This commit is contained in:
Daniel Hahler 2018-08-27 23:46:24 +02:00
parent 9620b167d9
commit cdc72bf5a3
1 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
sudo: false sudo: false
language: python language: python
stages: stages:
- linting - baseline
- test - test
- name: deploy - name: deploy
if: repo = pytest-dev/pytest AND tag IS present if: repo = pytest-dev/pytest AND tag IS present
@ -15,9 +15,6 @@ env:
- TOXENV=coveralls - TOXENV=coveralls
# note: please use "tox --listenvs" to populate the build matrix below # note: please use "tox --listenvs" to populate the build matrix below
# please remove the linting env in all cases # please remove the linting env in all cases
- TOXENV=py27
- TOXENV=py34
- TOXENV=py36
- TOXENV=py27-pexpect - TOXENV=py27-pexpect
- TOXENV=py27-xdist - TOXENV=py27-xdist
- TOXENV=py27-trial - TOXENV=py27-trial
@ -45,6 +42,12 @@ jobs:
sudo: required sudo: required
dist: xenial dist: xenial
- stage: baseline
env: TOXENV=py27
- env: TOXENV=py34
- env: TOXENV=py36
- env: TOXENV=linting
- stage: deploy - stage: deploy
python: '3.6' python: '3.6'
env: env:
@ -60,9 +63,6 @@ jobs:
on: on:
tags: true tags: true
repo: pytest-dev/pytest repo: pytest-dev/pytest
- stage: linting
python: '3.6'
env: TOXENV=linting
script: tox --recreate script: tox --recreate