Simplify travis config (#295)

This commit is contained in:
Michael 2020-02-05 20:05:51 +00:00 committed by GitHub
parent 61c8633c5d
commit 59b57a9f4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,8 @@ sudo: false
language: python
python:
- '3.8'
- '3.7'
- '3.6'
- '3.5'
@ -25,20 +27,8 @@ stages:
jobs:
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
python: 3.6
install: pip install -U -e .[tests] black pyflakes isort
script:
- pyflakes daphne tests
@ -46,6 +36,7 @@ jobs:
- isort --check-only --diff --recursive daphne tests
- stage: release
python: 3.6
script: skip
deploy:
provider: pypi