Merge pull request #4803 from blueyed/travis-cron
Travis: remove cron_only stage, use conditional job
This commit is contained in:
commit
a36e986920
11
.travis.yml
11
.travis.yml
|
@ -6,8 +6,6 @@ stages:
|
||||||
if: repo = pytest-dev/pytest AND tag IS NOT present
|
if: repo = pytest-dev/pytest AND tag IS NOT present
|
||||||
- name: deploy
|
- name: deploy
|
||||||
if: repo = pytest-dev/pytest AND tag IS present
|
if: repo = pytest-dev/pytest AND tag IS present
|
||||||
- name: cron_only
|
|
||||||
if: type = cron
|
|
||||||
python:
|
python:
|
||||||
- '3.7'
|
- '3.7'
|
||||||
install:
|
install:
|
||||||
|
@ -58,16 +56,17 @@ jobs:
|
||||||
- brew unlink python
|
- brew unlink python
|
||||||
- brew link 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
|
- stage: baseline
|
||||||
env: TOXENV=py27-pexpect,py27-trial,py27-numpy
|
env: TOXENV=py27-pexpect,py27-trial,py27-numpy
|
||||||
- env: TOXENV=py37-xdist
|
- env: TOXENV=py37-xdist
|
||||||
- env: TOXENV=linting,docs,doctesting
|
- env: TOXENV=linting,docs,doctesting
|
||||||
python: '3.7'
|
python: '3.7'
|
||||||
|
|
||||||
- stage: cron_only
|
|
||||||
env: TOXENV=py38-xdist
|
|
||||||
python: '3.8-dev'
|
|
||||||
|
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
python: '3.6'
|
python: '3.6'
|
||||||
env: PYTEST_NO_COVERAGE=1
|
env: PYTEST_NO_COVERAGE=1
|
||||||
|
|
Loading…
Reference in New Issue