forked from axnsan12/drf-yasg
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
54 lines (46 loc) · 1.78 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
44
45
46
47
48
49
50
51
52
53
54
language: python
python: 3.6
os: linux
dist: xenial
jobs:
include:
- stage: lint
script: scripts/lint.sh
install:
- pip install .[lint]
# Use aliases to specify matrix style parallelism in this stage only
- &unittest
stage: unittest
python: 3.6
script: scripts/tox-filter.sh py36
install:
- pip install .[tests]
- <<: *unittest
python: 3.7
script: scripts/tox-filter.sh py37
- <<: *unittest
python: 3.8
script: scripts/tox-filter.sh py38
- <<: *unittest
python: 3.9-dev
script: scripts/tox-filter.sh py39
# This tests readthedocs will be able to build
- stage: test-docs
script: scripts/docs.sh
install:
- pip install .[docs]
# This tests the package is packaged correctly
# Don't install any other dependencies preemtively
- stage: test-publish
python: 3.8
script: scripts/test-packaging.sh
install:
- pip install tox
deploy:
provider: pypi
distributions: "sdist bdist_wheel"
username: joellefkowitz
password:
secure: fbaBrbBl6mJf54iV2LR/wskFZRGn1ftlgt+BCCGsdF2eDrASnQaszS/IM4PXd4bsUalAPcxcbGC0lEAqiDgZneKlSYvHps1oy6ypymq7JLHKW/iQ3bBeXvT2QEaUgg5LqjX2CIlhSgiY2mVa6gQt1BwlutJatM3sJ6yvBQu+3vVWpwWohfTqjPmt1FdR9WWz5/sviDFyHYnGSRmgQUkcyfnKHZ4/UtEiLynVC1RVNzb+aAOCp2M2lW+A2SBiKMISzbkvgL/pO9f8ceHInUhY+oZJ/wzMa1hyF+Dlo7ut3LywFNrFdheP5r/1lTusR5UYXKncsiCLCyRujal8hOAnUaHkP+XGm+QLULKOGG2qkxmasO7lRXSbYgQGEGoKQNsiwjqJN3AbofIL1FIw/2IYFia/bkvhZCyBLUAHoCJ0BgNF/kvYBDzBDR2b6r8GjG2OREL+tkgAAsHauRgYKfkP738Qqj8UEnQ+Xrtnm+zOw86AuYD4xx3DHS2qAzsnhEs4nVp6WvLSB4PqOzzLZmG73zQZgKTTGIs7kgtnIZBR+3gIQCFIUAaeV9rzNmED0eKt8qLtC4gXFLx5aqzM2hOnuuKII+Ueiz8ZPbjFXrE7VmpCr0KfJaxu4UcqgSjJY5OI9f3EGJsJIC7O1fkrNCNPH0UUTZM0fM9OlxUNPs8qp1I=
on:
tags: true