Skip to content

Commit 07dddde

Browse files
authored
Bump to 1.0.7 (#35)
* python 2.7 only, but simpler code and backported types * Port CI optimizations Signed-off-by: Alexey Stepanov <penguinolog@gmail.com>
1 parent f5700e9 commit 07dddde

File tree

3 files changed

+54
-15
lines changed

3 files changed

+54
-15
lines changed

.travis.yml

+52-13
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,86 @@
11
sudo: false
22
language: python
33
os: linux
4-
python:
5-
- &mainstream_python 2.7
6-
- &pypy pypy
74
install:
85
- &upgrade_python_toolset pip install --upgrade pip setuptools wheel
9-
- pip install tox-travis
6+
- pip install tox
107
- pip install coveralls
11-
script: tox
8+
script: []
129
after_success:
1310
- coveralls
1411

1512
jobs:
1613
fast_finish: true
1714
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+
1826
- stage: Static analisys
19-
python: 3.6
27+
name: "PyLint"
28+
python: 2.7
2029
services: []
2130
install:
2231
- *upgrade_python_toolset
2332
- pip install tox
2433
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
2657
after_success: skip
2758

2859
- 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
3171
install:
3272
- *upgrade_python_toolset
3373
- pip install tox
3474
script:
35-
- tox -e pep8,pep257
75+
- tox -e pep257
3676
after_success: skip
3777

3878
- stage: deploy
3979
# This prevents job from appearing in test plan unless commit is tagged:
4080
if: tag IS present
4181
# Run on pypy to build not cythonized wheel
42-
python: *pypy
43-
services:
44-
- docker
82+
python: pypy
83+
services: []
4584
install:
4685
- *upgrade_python_toolset
4786
script: []

threaded/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
'gthreadpooled'
4343
)
4444

45-
__version__ = '1.0.6'
45+
__version__ = '1.0.7'
4646
__author__ = "Alexey Stepanov"
4747
__author_email__ = 'penguinolog@gmail.com'
4848
__maintainers__ = {

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@ usedevelop = False
105105
deps =
106106
mypy>=0.620
107107
-r{toxinidir}/CI_REQUIREMENTS.txt
108-
commands = mypy --strict threaded
108+
commands = mypy --strict -2 threaded

0 commit comments

Comments
 (0)