File tree 3 files changed +54
-15
lines changed
3 files changed +54
-15
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
2
language : python
3
3
os : linux
4
- python :
5
- - &mainstream_python 2.7
6
- - &pypy pypy
7
4
install :
8
5
- &upgrade_python_toolset pip install --upgrade pip setuptools wheel
9
- - pip install tox-travis
6
+ - pip install tox
10
7
- pip install coveralls
11
- script : tox
8
+ script : []
12
9
after_success :
13
10
- coveralls
14
11
15
12
jobs :
16
13
fast_finish : true
17
14
include :
15
+ - stage : test
16
+ name : " Python 2.7"
17
+ python : 2.7
18
+ script :
19
+ - tox -e py27
20
+ - stage : test
21
+ name : " PyPy"
22
+ python : pypy
23
+ script :
24
+ - tox -e pypy
25
+
18
26
- stage : Static analisys
19
- python : 3.6
27
+ name : " PyLint"
28
+ python : 2.7
20
29
services : []
21
30
install :
22
31
- *upgrade_python_toolset
23
32
- pip install tox
24
33
script :
25
- - tox -e pylint,bandit,mypy
34
+ - tox -e pylint
35
+ after_success : skip
36
+ - stage : Static analisys
37
+ name : " Bandit"
38
+ python : 2.7
39
+ services : []
40
+ install :
41
+ - *upgrade_python_toolset
42
+ - pip install tox
43
+ script :
44
+ - tox -e bandit
45
+ after_success : skip
46
+ - stage : Static analisys
47
+ name : " MyPy"
48
+ python : 3.7
49
+ dist : xenial
50
+ sudo : true
51
+ services : []
52
+ install :
53
+ - *upgrade_python_toolset
54
+ - pip install tox
55
+ script :
56
+ - tox -e mypy
26
57
after_success : skip
27
58
28
59
- stage : Code style check
29
- python : *mainstream_python
30
- services : []
60
+ name : " PEP8"
61
+ python : 2.7
62
+ install :
63
+ - *upgrade_python_toolset
64
+ - pip install tox
65
+ script :
66
+ - tox -e pep8
67
+ after_success : skip
68
+ - stage : Code style check
69
+ name : " PEP257"
70
+ python : 2.7
31
71
install :
32
72
- *upgrade_python_toolset
33
73
- pip install tox
34
74
script :
35
- - tox -e pep8, pep257
75
+ - tox -e pep257
36
76
after_success : skip
37
77
38
78
- stage : deploy
39
79
# This prevents job from appearing in test plan unless commit is tagged:
40
80
if : tag IS present
41
81
# Run on pypy to build not cythonized wheel
42
- python : *pypy
43
- services :
44
- - docker
82
+ python : pypy
83
+ services : []
45
84
install :
46
85
- *upgrade_python_toolset
47
86
script : []
Original file line number Diff line number Diff line change 42
42
'gthreadpooled'
43
43
)
44
44
45
- __version__ = '1.0.6 '
45
+ __version__ = '1.0.7 '
46
46
__author__ = "Alexey Stepanov"
47
47
__author_email__ = 'penguinolog@gmail.com'
48
48
__maintainers__ = {
Original file line number Diff line number Diff line change @@ -105,4 +105,4 @@ usedevelop = False
105
105
deps =
106
106
mypy>=0.620
107
107
-r{toxinidir}/CI_REQUIREMENTS.txt
108
- commands = mypy --strict threaded
108
+ commands = mypy --strict -2 threaded
You can’t perform that action at this time.
0 commit comments