File tree 1 file changed +17
-3
lines changed
1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 6
6
fast_finish : true
7
7
include :
8
8
# py37 is not available in trusty dist, and requires sudo=true with xenial.
9
- - python : 3.7
9
+ - stage : test
10
+ python : 3.7
10
11
env : TOXENV=py37-dj21-sqlite
11
12
dist : xenial
12
13
sudo : true
40
41
- python : 3.6
41
42
env : TOXENV=checkqa,docs SKIP_COVERAGE=1
42
43
43
- - stage : PyPI Release
44
- if : tag IS present
44
+ - stage : test_release
45
+ python : 3.6
46
+ env : TOXENV=py36-dj20-postgres
47
+
48
+ - stage : release
45
49
script : skip
46
50
install : skip
47
51
after_success : true
54
58
tags : true
55
59
distributions : " sdist bdist_wheel"
56
60
61
+ # NOTE: does not show up in "allowed failures" section, but is allowed to
62
+ # fail (for the "test" stage).
57
63
allow_failures :
58
64
- env : TOXENV=py36-djmaster-postgres
59
65
66
+ stages :
67
+ - name : test
68
+ if : tag IS NOT present
69
+ - name : test_release
70
+ if : tag IS present
71
+ - name : release
72
+ if : tag IS present
73
+
60
74
install :
61
75
# Create pip wrapper script, using travis_retry (a function) and
62
76
# inject it into tox.ini.
You can’t perform that action at this time.
0 commit comments