Skip to content

Commit ebfa78d

Browse files
authored
Cleanups to fix the CI (#3)
1 parent 43de604 commit ebfa78d

5 files changed

Lines changed: 30 additions & 22 deletions

File tree

.travis.yml

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
11
language: python
2-
env:
3-
- TOXENV=packaging
4-
- TOXENV=pep8
5-
- TOXENV=py3pep8
6-
- TOXENV=py27
7-
- TOXENV=py33
8-
- TOXENV=py34
9-
- TOXENV=pypy
2+
jobs:
3+
include:
4+
- env: TOXENV=packaging
5+
- env: TOXENV=pep8
6+
7+
- env: TOXENV=py27
8+
python: 2.7
9+
10+
- env: TOXENV=py34
11+
python: 3.4
12+
13+
- env: TOXENV=py35
14+
python: 3.5
15+
16+
- env: TOXENV=py36
17+
python: 3.6
18+
19+
- env: TOXENV=py37
20+
python: 3.7
21+
22+
- env: TOXENV=py38
23+
python: 3.8
24+
25+
- env: TOXENV=pypy
26+
python: pypy
1027

1128
install:
1229
- pip install tox

MANIFEST.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
prune .idea
2-
include *.in
32
include *.py
43
include tests/*.py
54
include LICENSE
65
include tox.ini
7-
include requirements.txt

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

signedjson/sign.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,7 @@ def verify_signed_json(json_object, signature_name, verify_key):
121121
verify_key.verify(message, signature)
122122
except Exception as e:
123123
raise SignatureVerifyException(
124-
"Unable to verify signature for %s: %s %s" % (signature_name, type(e), e)
124+
"Unable to verify signature for %s: %s %s" % (
125+
signature_name, type(e), e,
126+
)
125127
)

tox.ini

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
[tox]
2-
envlist = packaging, pep8, py3pep8, py27, py33, py34, py35, py36, py37, py38, pypy
2+
envlist = packaging, pep8 py27, py33, py34, py35, py36, py37, py38, pypy
33

44
[testenv]
55
deps =
66
coverage
77
nose
8-
-rrequirements.txt
98
commands =
109
coverage run --source signedjson -m nose
1110
coverage report -m --fail-under 100
@@ -16,13 +15,6 @@ deps =
1615
commands = check-manifest
1716

1817
[testenv:pep8]
19-
basepython = python2.7
2018
deps =
2119
flake8
22-
commands = flake8 signedjson tests setup.py
23-
24-
[testenv:py3pep8]
25-
basepython = python3.7
26-
deps =
27-
flake8
28-
commands = flake8 signedjson tests setup.py
20+
commands = flake8 signedjson.py tests setup.py

0 commit comments

Comments
 (0)