-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (25 loc) · 735 Bytes
/
tox.ini
File metadata and controls
30 lines (25 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[tox]
envlist = py27, py35, py36, pypy, flake8, pylint
[travis]
python =
pypy: pypy
3.6: py36
3.5: py35
2.7: py27
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 certifiable setup.py
[testenv:pylint]
basepython = python
deps = pylint
commands = pylint certifiable setup.py
[testenv]
setenv =
PYTHONPATH = {toxinidir}commands =
nosetests --with-coverage --cover-erase --cover-package=certifiable --cover-html --cover-branches
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
deps =
-r{toxinidir}/requirements/requirements.txt
-r{toxinidir}/requirements/requirements-test.txt