Commit c4a71b3 1 parent 08936b8 commit c4a71b3 Copy full SHA for c4a71b3
File tree 1 file changed +10
-19
lines changed
1 file changed +10
-19
lines changed Original file line number Diff line number Diff line change 20
20
- linux
21
21
stages :
22
22
- maintenance
23
- - phase1
24
- - phase2
23
+ - test
25
24
- deploy
26
25
before_install :
27
26
# begin: workaround to enable support for py37:
46
45
- stage : maintenance
47
46
script :
48
47
- python -m tox -e maintenance
49
- on :
50
- condition : $TRAVIS_EVENT_TYPE = cron
51
- - stage : phase1
52
- script :
48
+ if : type = cron
49
+ - script :
53
50
# package building added here purely to fail-fast if is broken
54
51
- python setup.py sdist bdist_wheel
55
52
- python -m tox
@@ -58,37 +55,31 @@ jobs:
58
55
language : nodejs
59
56
node_js :
60
57
- " 8"
61
- - stage : phase1
62
- script : python -m tox
58
+ - script : python -m tox
63
59
python : " 2.7"
64
60
env : TOXENV=docs
65
- - stage : phase1
66
- script : python -m tox
61
+ - script : python -m tox
67
62
python : " 2.7"
68
63
env : TOXENV=py27
69
64
after_success :
70
65
- bash <(curl -s https://codecov.io/bash) -e TOX_ENV
71
66
- requires.io update-site -t ac3bbcca32ae03237a6aae2b02eb9411045489bb -r
72
- - stage : phase2
73
- script : python -m tox
67
+ - script : python -m tox
74
68
python : " 3.4"
75
69
env : TOXENV=py34
76
70
after_success :
77
71
- bash <(curl -s https://codecov.io/bash) -e TOX_ENV
78
- - stage : phase2
79
- script : python -m tox
72
+ - script : python -m tox
80
73
python : " 3.5"
81
74
env : TOXENV=py35
82
75
after_success :
83
76
- bash <(curl -s https://codecov.io/bash) -e TOX_ENV
84
- - stage : phase2
85
- script : python -m tox
77
+ - script : python -m tox
86
78
python : " 3.6"
87
79
env : TOXENV=py36 PYTHON='3.6' PYENV_VERSION='system'
88
80
after_success :
89
81
- bash <(curl -s https://codecov.io/bash) -e TOX_ENV
90
- - stage : phase2
91
- script : python -m pip install -q tox-travis && python -m tox
82
+ - script : python -m pip install -q tox-travis && python -m tox
92
83
python : " 3.7"
93
84
env : TOXENV=py37 PYTHON='3.7'
94
85
after_success :
101
92
script :
102
93
- python setup.py sdist bdist_wheel
103
94
- python -m twine upload dist/*
104
- if : tag IS present
95
+ if : tag IS present AND type != cron
105
96
deploy :
106
97
- provider : releases
107
98
api_key :
You can’t perform that action at this time.
0 commit comments