File tree Expand file tree Collapse file tree 7 files changed +32
-28
lines changed Expand file tree Collapse file tree 7 files changed +32
-28
lines changed Original file line number Diff line number Diff line change 3
3
{% block custom_python_versions %}
4
4
python:
5
5
- 3.7
6
- - 2.7
6
+ - 3.6
7
7
{% endblock %}
8
8
9
9
Original file line number Diff line number Diff line change @@ -5,7 +5,33 @@ notifications:
5
5
email : false
6
6
python :
7
7
- 3.7
8
- - 2.7
8
+ - 3.6
9
+
10
+ stages :
11
+ - lint
12
+ - moban
13
+ - test
14
+
15
+
16
+ .lint : &lint
17
+ git :
18
+ submodules : false
19
+ python : 3.6
20
+ stage : lint
21
+ script : make install_test lint
22
+
23
+ .moban : &moban
24
+ python : 3.6
25
+ stage : moban
26
+ install : pip install moban>=0.0.4 gitfs2 pypifs
27
+ script : make upstreaming git-diff-check
28
+
29
+ jobs :
30
+ include :
31
+ - *moban
32
+ - *lint
33
+
34
+ stage : test
9
35
10
36
before_install :
11
37
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
@@ -24,13 +50,3 @@ script:
24
50
- pytest
25
51
after_success :
26
52
codecov
27
-
28
-
29
- jobs :
30
- include :
31
- - stage : lint
32
- before_install : false
33
- script : make install_test lint
34
- - stage : moban
35
- install : pip install moban>=0.0.4 gitfs2 pypifs
36
- script : make upstreaming git-diff-check
Original file line number Diff line number Diff line change @@ -41,23 +41,9 @@ stages:
41
41
- test
42
42
43
43
{% endblock %}
44
- .disable_global: &disable_global
45
- addons: false
46
- cache: false
47
- env: {}
48
- python: false
49
- before_install: false
50
- install: false
51
- before_script: false
52
- script: false
53
- after_success: false
54
- after_failure: false
55
- before_deploy: false
56
- deploy: false
57
44
58
45
{% if lint_command != False %}
59
46
.lint: &lint
60
- <<: *disable_global
61
47
git:
62
48
submodules: false
63
49
python: 3.6
@@ -70,7 +56,6 @@ stages:
70
56
{% endif %}
71
57
{% if moban_command != False %}
72
58
.moban: &moban
73
- <<: *disable_global
74
59
python: 3.6
75
60
stage: moban
76
61
install: pip install moban>=0.0.4 gitfs2 pypifs
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ CLASSIFIERS = [
60
60
61
61
]
62
62
63
+
63
64
INSTALL_REQUIRES = [
64
65
]
65
66
SETUP_COMMANDS = {}
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ CLASSIFIERS = [
60
60
61
61
]
62
62
63
+
63
64
INSTALL_REQUIRES = [
64
65
]
65
66
SETUP_COMMANDS = {}
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ CLASSIFIERS = [
60
60
61
61
]
62
62
63
+
63
64
INSTALL_REQUIRES = [
64
65
]
65
66
SETUP_COMMANDS = {}
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ def test_setup():
12
12
yaml = YAML (typ = "safe" )
13
13
context = yaml .load (content )
14
14
rendered = get_rendered_file (filename , context )
15
+ print (rendered )
15
16
expected = get_file_content ("setup.py.output" )
16
17
assert expected == rendered
17
18
@@ -36,6 +37,5 @@ def test_setup_use_markers_false():
36
37
yaml = YAML (typ = "safe" )
37
38
context = yaml .load (content )
38
39
rendered = get_rendered_file (filename , context )
39
- print (rendered )
40
40
expected = get_file_content ("setup_use_markers_false.py.output" )
41
41
assert expected == rendered
You can’t perform that action at this time.
0 commit comments