File tree Expand file tree Collapse file tree 1 file changed +19
-6
lines changed Expand file tree Collapse file tree 1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,7 @@ language: python
2
2
sudo : false
3
3
cache : pip
4
4
dist : xenial
5
- python :
6
- - nightly
7
- - 3.7
8
- - 3.6
9
- - 3.5
5
+
10
6
install :
11
7
- pip install --upgrade pip
12
8
- pip install --upgrade --pre -r test-requirements.txt .
@@ -24,7 +20,24 @@ script:
24
20
after_success :
25
21
- codecov
26
22
27
- matrix :
23
+ jobs :
24
+ allow_failures :
25
+ - python : nightly
26
+ fast_finish : true
28
27
include :
28
+ # Default stage: test
29
29
- python : 3.7
30
30
env : TEST_LINT=1
31
+ - python : 3.7
32
+ - python : 3.6
33
+ - python : 3.5
34
+ - python : nightly
35
+ # Only deploy if all test jobs passed
36
+ - stage : deploy
37
+ python : 3.7
38
+ if : tag IS present
39
+ deploy :
40
+ provider : pypi
41
+ user : __token__
42
+ # password: see secret PYPI_PASSWORD variable
43
+ distributions : sdist bdist_wheel
You can’t perform that action at this time.
0 commit comments