1
- conditions : v1
2
- version : " = 0"
3
1
if : > # Forbid running non-PR pushes from pyup bot
4
2
not (type != pull_request AND branch =~ ^pyup\-scheduled\-update\-)
5
3
@@ -12,10 +10,10 @@ python:
12
10
- 3.6
13
11
- &mainstream_python 3.7
14
12
- 3.8-dev
15
- - & pypy3 pypy3.5-6.0.0
13
+ - pypy3
16
14
17
15
install :
18
- - &upgrade_python_toolset pip install --upgrade pip wheel setuptools
16
+ - pip install --upgrade pip wheel setuptools
19
17
- pip install -r requirements/ci.txt
20
18
21
19
script :
@@ -25,31 +23,30 @@ after_success:
25
23
- codecov
26
24
27
25
_helpers :
28
- - &_mainstream_python_base
26
+ # anchor nodes to be included elsewhere.
27
+ - &mainstream_python_base
29
28
python : *mainstream_python
30
- - &_reset_steps
29
+
30
+ - &lint_base
31
+ << : *mainstream_python_base
31
32
env : []
32
33
before_install : skip
33
34
install : skip
35
+ before_script : skip
34
36
script : skip
35
- after_success : []
36
- - &_lint_base
37
37
stage : &doc_stage_name docs, linting and pre-test checks
38
- << : *_mainstream_python_base
39
- << : *_reset_steps
40
- install :
41
- - *upgrade_python_toolset
42
- - pip install -U -r requirements/ci.txt
43
- - &_doc_base
44
- << : *_lint_base
45
- install :
46
- - *upgrade_python_toolset
47
- - pip install -U -r requirements/doc.txt -r requirements/doc-spelling.txt
48
- after_failure : cat docs/_build/spelling/output.txt
49
- addons :
50
- apt :
51
- packages :
52
- - libenchant-dev
38
+
39
+ deploy :
40
+ provider : pypi
41
+ username : __token__
42
+ password :
43
+ # Encrypted with `travis encrypt`:
44
+ secure : " QnfCQAFZoNXlrNe2UVeI24DTbWu5bzlNdqypXFvey/ga9H2ba9KnWIGFws+1uTux3E9fbfxcNTzO3iLXHc7VEjsif7xvuyIu/NBfV+4ONHGeR7UuwB4iu9PU6cMeD422vYceFZBB7KMfwJZ+mLJWQTKIf74iWK8mIx4IUK8S9As5Ypx6yQdatJr4jgQ/j/1MI4xnmKKIkIJZ18k5epF7N0ifEdZC7TfCuGXF5AMVwxHjUWPzxfkOtC+ENJ8NivZQOCNj/DIeH2nJSVexQrYo+xIO7D40k/hy2lzWqqSTgqE978055UzBQNZmdarzxb8frln5OvvVMIVr8xKZVszglA17fbpuQjMz3ThiDuhozo/dRTNeN+n9r33tm3fRjrzqEcr0mTHzHs7wypmZoXLJplnIko6T3SvnF+O8nhdlIJjArPVJE00kkTj6bz3cKlWYi5OyaFWPo5zLuAvjtPpbUlg/pyus9xsic630JdYQv2IZOrHFkw9OGD/FKy1K1hZ1YIA+XC8cD0s8K+C+NPnCeJ7/yAPwzrMv4XoPhqO5V4D8eJP7FIecbvHxQj0V+tF15OtjqxyuY2+G+NQ6ySn/OFOLrkvCOzselCc4qiEGSzKLlS0BdqLSryekFVUIVr8cng43PHq9bMbXWw9OV0WDs+no0bwGNRJd+FsKzk/4AiE=" distributions: "sdist bdist_wheel"
45
+ skip_existing : true
46
+ on :
47
+ << : *mainstream_python_base
48
+ tags : true
49
+ all_branches : true
53
50
54
51
os : linux
55
52
@@ -58,65 +55,50 @@ matrix:
58
55
allow_failures :
59
56
- python : 3.8-dev
60
57
61
- - << : *_doc_base
58
+ - << : *lint_base
62
59
name : Checking docs spelling
60
+ before_script :
61
+ - pip install --upgrade -r requirements/doc-spelling.txt
63
62
script :
64
63
- make doc-spelling
64
+ after_failure : cat docs/_build/spelling/output.txt
65
+ addons :
66
+ apt :
67
+ packages :
68
+ - libenchant-dev
65
69
66
- - << : *_doc_base
70
+ - << : *lint_base
67
71
name : Checking Towncrier fragments
68
- install :
69
- - *upgrade_python_toolset
70
- - pip install -r requirements/ci.txt
71
- - pip install -r requirements/towncrier.txt
72
+ before_script :
73
+ - pip install --upgrade -r requirements/towncrier.txt
72
74
script :
73
75
- towncrier --yes
74
76
75
- - << : *_lint_base
77
+ - << : *lint_base
76
78
name : Linting source code with flake8
77
- install :
78
- - *upgrade_python_toolset
79
- - pip install -r requirements/flake.txt
79
+ before_script :
80
+ - pip install --upgrade -r requirements/flake.txt
80
81
script :
81
82
- flake8 aiosignal tests
82
83
83
- - << : *_lint_base
84
+ - << : *lint_base
84
85
name : Linting source code with mypy
85
- install :
86
- - *upgrade_python_toolset
87
- - pip install -r requirements/ci.txt
88
86
script :
89
87
- mypy aiosignal
90
88
91
- - << : *_lint_base
89
+ - << : *lint_base
92
90
name : Verifying distribution package metadata
93
- install :
94
- - *upgrade_python_toolset
95
- - pip install -r requirements/ci.txt -r requirements/doc.txt
96
91
script :
97
92
- python setup.py --verbose sdist bdist_wheel
98
93
- twine check dist/*
99
94
100
- - << : *_lint_base
95
+ - << : *lint_base
101
96
name : Making sure that CONTRIBUTORS.txt remains sorted
102
97
language : shell
103
- install :
104
- - skip
98
+ install : skip
105
99
script :
106
100
- LC_ALL=C sort -c CONTRIBUTORS.txt
107
101
108
-
109
- deploy :
110
- provider : pypi
111
- username : __token__
112
- password :
113
- secure : qmyq5Qr0tF0ak/2IS5dBTTmX7WIysbOg2WuBfIrx44IPYbqAqIV+vxN7WtcZurHPJqplNuaU2eWiHKg68x1hiLPxGQmnxwn938tNJ147XCRDL9IPLcLQEfssUIWBbZE0bXaHJcdybYg6YaryR1d7lSewInQ6i51BxhQDFfB9hr4NUEM9yoN5XzvFLq5EsHuXL3IQPe3Rn07QebRPJhekk++FwgWB487TBF1sx8rbFpvBoNiE7X1tFnyTjZTl4eyPHo/3cTpzhO8cdELgnO0Ux9wHjhvhywK2oh0Ct49D4NnZ1eM2mrHiBxR/9pYC7N4pStTReqELjk2Cr9JS8dzRO0NWzZL+ElMVpLbVhJauYlG570sIPaauBhy40dy+hrjqCtMjrJsbt9kpugmEyYpKt9nKWGxcGvuwepOYyQmE/5iT/Ox8g+m07G4SYksP0lEUPmsXtrtRMr6hRmBuBCYGN4Sv1c+K+rdRL5OdLA8QuSRceNXCf9StF5BJPYTg5X6cLj99Lb9KLKnMJg6VkBx8ovBPpghALeNul/D41kjV1azx4RP7kKD4e1LzfAO8uOITudiCfFyBawXDbiNeaeACy4YniCTwZvC++sgTMPEP3cbqviunLe5EiNabjb2GxxtGXmIahu3NNFw+FreYacWdj9N/Zc1T4SH6HIaQybF3SuU=
114
- distributions : " sdist bdist_wheel"
115
- skip_existing : true
116
- on :
117
- << : *_mainstream_python_base
118
- tags : true
119
-
120
102
stages :
121
103
- *doc_stage_name
122
104
- test
0 commit comments