Simplify travis config

This commit is contained in:
Michael Käufl 2019-12-23 16:32:36 +01:00
parent 18f2d67f34
commit 7884c200e8

View File

@ -3,6 +3,8 @@ sudo: false
language: python language: python
python: python:
- '3.8'
- '3.7'
- '3.6' - '3.6'
- '3.5' - '3.5'
@ -25,20 +27,8 @@ stages:
jobs: jobs:
include: include:
- python: '3.7'
env: TWISTED="twisted==18.7.0"
dist: xenial
sudo: required
- python: '3.7'
env: TWISTED="twisted"
dist: xenial
sudo: required
- python: '3.8'
env: TWISTED="twisted"
dist: xenial
sudo: required
- stage: lint - stage: lint
python: 3.6
install: pip install -U -e .[tests] black pyflakes isort install: pip install -U -e .[tests] black pyflakes isort
script: script:
- pyflakes daphne tests - pyflakes daphne tests
@ -46,6 +36,7 @@ jobs:
- isort --check-only --diff --recursive daphne tests - isort --check-only --diff --recursive daphne tests
- stage: release - stage: release
python: 3.6
script: skip script: skip
deploy: deploy:
provider: pypi provider: pypi