forked from django/asgiref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (36 loc) · 1.38 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Faster container-based infrastructure
sudo: false
language: python
python:
- "3.8"
- "3.7"
- "3.6"
- "3.5"
install:
- pip install -e .[tests]
- pip freeze
script:
- pytest
stages:
- test
- lint
- name: release
if: tag IS present
jobs:
include:
- stage: lint
install: pip install -U -e .[tests] black pyflakes isort
script:
- pyflakes asgiref tests
- black --check --diff asgiref tests
- isort --check-only --diff --recursive asgiref tests
- stage: deploy
script: skip
deploy:
provider: pypi
user: andrewgodwin_bot
on:
tags: true
distributions: sdist bdist_wheel
password:
secure: Bt6uFOAf2n9D5z06Orv8w6a3zU86mkpA9wspLsu8AIJ2kZx61bpO+27vHvJFyVpkEW+EerzUY9sOq02jd8EhzHL86wcM5zgXyDYhlZ6CxYxU9vFXrBmLzC/rrGbirArseXnDZY5ulPnuRBFxJyqJ2mZeDKjn+qoa8qe364si/wPDWs9YjQFSbT6lJz0MVIVKQNHw5iAXBsQ+yQewjbNPo4nOd81kqlO8Bg/Xpu85/rHjim8zG9PWAMUnueIMyYSTUTXSmZFRR+3viJ7HZz7o0HxepokkpLODdvbUKnKi2fdQAa4fAlInqFf4gSaLN8f+Ch5aDFeDmz7FVcwUbKEmWo67/lzb0NQwiYz11O+K78xFPRHopCljR3VFpCSxw/oJuLRlbElXO0q8JLznKVdgdoFqSV4/W7HgXXdYuDjcYWHiYHHc1t/JoOF3bRkjRu7Ax9HwmEi1RLL4ou5G/lT60Pd50FRcLV788AYw7CiZFewRyXjJSB59Crqt05Eyl0Wtynd1JwHDkJC2SYuWfqRHYM+oicqxbSyecjbMu8vDD56soDEeM/oHojBo4IpEYtGYHndGvnmtOuPpiKNpxxZC6ipghrv74s0Btw9HaI8SW1/G3EDCudL5rd7X9gdMFESdp/WshKlr4treEYfPRkZcuh3WW9CE2QS0IiCXoWk60AA=