File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 6
6
- pip install -U tox coveralls
7
7
8
8
script :
9
+ - pipenv install --dev
10
+ - pipenv run pip freeze > requirements-tests.txt
9
11
- coverage erase
10
12
- tox
11
13
after_success :
Original file line number Diff line number Diff line change 2
2
envlist = py36
3
3
4
4
[testenv]
5
- deps = pipenv
6
5
commands =
7
- pipenv install --dev --ignore-pipfile
8
6
coverage erase
9
7
coverage run -m unittest
10
8
coverage report -m
11
9
coverage xml -i
12
10
coverage html -i
13
11
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}
14
14
recreate = True
15
15
whitelist_externals = /bin/bash
16
16
17
17
[testenv:py36]
18
18
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
You can’t perform that action at this time.
0 commit comments