Travis: test py38-dev only with cron builds

The master and features branches are tested daily.
This commit is contained in:
Daniel Hahler 2019-02-13 18:49:35 +01:00
parent 8726be27a6
commit afaaa7e411
1 changed files with 6 additions and 2 deletions

View File

@ -7,6 +7,8 @@ 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:
@ -40,8 +42,6 @@ jobs:
python: '3.5'
- env: TOXENV=py36
python: '3.6'
- env: TOXENV=py38
python: '3.8-dev'
- env: TOXENV=py37
- &test-macos
language: generic
@ -65,6 +65,10 @@ jobs:
- env: TOXENV=linting,docs,doctesting
python: '3.7'
- stage: cron_only
env: TOXENV=py38
python: '3.8-dev'
- stage: deploy
python: '3.6'
env: PYTEST_NO_COVERAGE=1