mirror of
https://github.com/django/daphne.git
synced 2024-11-21 23:46:33 +03:00
Simplify travis config (#295)
This commit is contained in:
parent
61c8633c5d
commit
59b57a9f4b
17
.travis.yml
17
.travis.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user