Skip to content

Commit 85940b7

Browse files
authored
Merge pull request #43 from python-microservices/fix/coveralls
Fix coveralls
2 parents a8813b7 + fd350b6 commit 85940b7

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ install:
66
- pip install -U tox coveralls
77

88
script:
9+
- pipenv install --dev
10+
- pipenv run pip freeze > requirements-tests.txt
911
- coverage erase
1012
- tox
1113
after_success:

tox.ini

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,24 @@
22
envlist = py36
33

44
[testenv]
5-
deps = pipenv
65
commands =
7-
pipenv install --dev --ignore-pipfile
86
coverage erase
97
coverage run -m unittest
108
coverage report -m
119
coverage xml -i
1210
coverage html -i
1311
bash -c 'pylint --rcfile={toxinidir}/pylintrc --load-plugins=pylint.extensions.docparams, pylint.extensions.mccabe {envsitepackagesdir}/project > pylintReport.txt || true'
12+
install_command =
13+
pip install {opts} {packages}
1414
recreate = True
1515
whitelist_externals = /bin/bash
1616

1717
[testenv:py36]
1818
basepython = python3.6
19-
setenv=
20-
LC_ALL=en_GB.UTF-8
21-
LANG=en_GB.UTF-8
19+
deps = -rrequirements-tests.txt
20+
[testenv:py35]
21+
basepython = python3.5
22+
deps = -rrequirements-tests.txt
23+
[testenv:py27]
24+
basepython = python2.7
25+
deps = -rrequirements-tests.txt

0 commit comments

Comments
 (0)