File tree 1 file changed +25
-8
lines changed
1 file changed +25
-8
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
- python :
3
- - " 3.6"
4
2
5
3
sudo : false
6
4
@@ -13,17 +11,39 @@ stages:
13
11
install :
14
12
- pip install -r requirements-dev.txt
15
13
14
+ script :
15
+ - pylint pylintfileheader pylintfileheadertest
16
+ - pytest --cov pylintfileheader pylintfileheadertest
17
+
16
18
jobs :
17
19
include :
20
+ # Test Stage
18
21
- stage : test
19
- script :
20
- - python -m pylint ./*/*.py
21
- - pytest --cov pylintfileheader pylintfileheadertest
22
+ python : 2.7
23
+ script : pytest --cov pylintfileheader pylintfileheadertest # Do not lint here
24
+ - stage : test
25
+ python : 3.4
26
+ - stage : test
27
+ python : 3.5
28
+ - stage : test
29
+ python : 3.6
30
+ - stage : test
31
+ python : 3.7
32
+ - stage : test
33
+ python : 3.8
34
+ after_success :
35
+ - codecov
36
+
37
+ # Bundle Stage
22
38
- stage : bundle
39
+ python : 3.8
23
40
script :
24
41
- cp ThirdPartyNotices.txt ./pylintfileheader
25
42
- python setup.py sdist bdist_wheel
43
+
44
+ # Deploy Stage
26
45
- stage : deploy
46
+ python : 3.8
27
47
before_deploy :
28
48
- cp ThirdPartyNotices.txt ./pylintfileheader
29
49
- python setup.py sdist bdist_wheel
37
57
skip_cleanup : true
38
58
on :
39
59
tags : true
40
-
41
- after_success :
42
- - codecov
You can’t perform that action at this time.
0 commit comments