Merge pull request #4803 from blueyed/travis-cron

Travis: remove cron_only stage, use conditional job
This commit is contained in:
Bruno Oliveira 2019-02-16 11:29:51 -02:00 committed by GitHub
commit a36e986920
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -6,8 +6,6 @@ stages:
if: repo = pytest-dev/pytest AND tag IS NOT present
- name: deploy
if: repo = pytest-dev/pytest AND tag IS present
- name: cron_only
if: type = cron
python:
- '3.7'
install:
@ -58,16 +56,17 @@ jobs:
- brew unlink python
- brew link python
# Jobs only run via Travis cron jobs (currently daily).
- env: TOXENV=py38-xdist
python: '3.8-dev'
if: type = cron
- stage: baseline
env: TOXENV=py27-pexpect,py27-trial,py27-numpy
- env: TOXENV=py37-xdist
- env: TOXENV=linting,docs,doctesting
python: '3.7'
- stage: cron_only
env: TOXENV=py38-xdist
python: '3.8-dev'
- stage: deploy
python: '3.6'
env: PYTEST_NO_COVERAGE=1