mirror of
https://github.com/django/daphne.git
synced 2024-11-28 10:43:44 +03:00
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
sudo: false
|
|
|
|
language: python
|
|
|
|
python:
|
|
- '3.8'
|
|
- '3.7'
|
|
- '3.6'
|
|
- '3.5'
|
|
|
|
env:
|
|
- TWISTED="twisted"
|
|
- TWISTED="twisted==18.7.0"
|
|
|
|
install:
|
|
- pip install $TWISTED -e .[tests]
|
|
- pip freeze
|
|
|
|
script:
|
|
- pytest
|
|
|
|
stages:
|
|
- lint
|
|
- test
|
|
- name: release
|
|
if: tag IS present
|
|
|
|
jobs:
|
|
include:
|
|
- stage: lint
|
|
python: 3.6
|
|
install: pip install -U -e .[tests] black pyflakes isort
|
|
script:
|
|
- pyflakes daphne tests
|
|
- black --check daphne tests
|
|
- isort --check-only --diff --recursive daphne tests
|
|
|
|
- stage: release
|
|
python: 3.6
|
|
script: skip
|
|
deploy:
|
|
provider: pypi
|
|
user: andrewgodwin_bot
|
|
on:
|
|
tags: true
|
|
distributions: sdist bdist_wheel
|
|
password:
|
|
secure: IA+dvSmMKN+fT47rgRb6zdmrExhK5QCVEDH8kheC6kAacw80ORBZKo6sMX9GQBJ3BlfhTqrzAhItHkDUxonb579rJDvmlJ7FPg7axZpsY9Fmls6q1rJC/La8iGWx20+ctberejKSH3wSwa0LH0imJXGDoKKzf1DLmk5pEEWjG2QqhKdEtyAcnzOPnDWcRCs+DKfQcMzETH7lMFN8oe3aBhHLLtcg4yA78cN5CeyyH92lmbaVp7k/b1FqXXFgf16bi5tlgLrb6DhmcnNjwLMSHRafNoPCXkWQOwh6gEHeHRR3OsHsBueyJHIikuHNrpmgpAqjYlVQ5WqmfgMlhCfRm9xL+G4G+KK9n8AJNGAszUfxVlPvMTw+nkOSd/bmxKrdCqqYnDIvDLucXJ86TstNzklfAwr3FL+wBlucRtOMLhQlHIaPTXYcNpOuh6B4ELjC+WjDGh8EdRKvcsZz7+5AS5ZaDDccuviMzQFsXVcE2d4HiosbARVrkxJ7j3MWp0OGgWVxXgRO2EQIksbgGSIjI8PqFjBqht2WT6MhVZPCc9XHUlP2CiAR5+QY8JgTIztbEDuhpgr0cRAtiHwJEAxDR9tJR/j/v4X/Pau2ZdR0C0yW77lVgD75spLL0khAnU7q+qgiF0hyQ7gRRVy0tElT0HBenVbzjzHowdJX8lSPjRg=
|