Skip to content

Commit b6b4743

Browse files
authored
Bump to 1.3.8 (#78)
* Bump to 1.3.8 * Python 2.7 only * No cythonize code * CI optimizations * fix IntEnum subclass
1 parent 93fd63a commit b6b4743

File tree

3 files changed

+54
-14
lines changed

3 files changed

+54
-14
lines changed

.travis.yml

Lines changed: 52 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,90 @@
11
sudo: false
22
language: python
33
os: linux
4-
python:
5-
- &main_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+
26+
- stage: Static analisys
27+
name: "PyLint"
28+
python: 2.7
29+
services: []
30+
install:
31+
- *upgrade_python_toolset
32+
- pip install tox
33+
script:
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
1846
- stage: Static analisys
19-
python: 3.6
47+
name: "MyPy"
48+
python: 3.7
49+
dist: xenial
50+
sudo: true
2051
services: []
2152
install:
2253
- *upgrade_python_toolset
2354
- pip install tox
2455
script:
25-
- tox -e pylint,bandit,mypy
56+
- tox -e mypy
2657
after_success: skip
2758

2859
- stage: Code style check
29-
python: *main_python
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
3071
install:
3172
- *upgrade_python_toolset
3273
- pip install tox
3374
script:
34-
- tox -e pep8,pep257
75+
- tox -e pep257
3576
after_success: skip
3677

3778
- stage: deploy
3879
# This prevents job from appearing in test plan unless commit is tagged:
3980
if: tag IS present
4081
# Run on pypy to build not cythonized wheel
41-
python: *pypy
82+
python: pypy
4283
services: []
4384
install:
4485
- *upgrade_python_toolset
45-
script: []
46-
before_deploy:
4786
- pip install -r build_requirements.txt
87+
script:
4888
- python setup.py bdist_wheel
4989
deploy:
5090
- provider: pypi

exec_helpers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
'ExecResult',
4949
)
5050

51-
__version__ = '1.3.7'
51+
__version__ = '1.3.8'
5252
__author__ = "Alexey Stepanov"
5353
__author_email__ = 'penguinolog@gmail.com'
5454
__maintainers__ = {

exec_helpers/proc_enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838

3939
@enum.unique
40-
class SigNum(enum.IntEnum):
40+
class SigNum(int, enum.Enum):
4141
"""Signal enumerators."""
4242

4343
SIGHUP = 1 # Hangup (POSIX).

0 commit comments

Comments
 (0)