-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
36 lines (31 loc) · 855 Bytes
/
tox.ini
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
31
32
33
34
35
36
[tox]
envlist = pypy, py27, py35, flake8
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 islex
[testenv]
setenv =
PIP_USE_WHEEL=true
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_dev.txt
commands =
pip install -U pip .
py.test --cov-report term --cov islex.data.entities tests/
[testenv:coverage-clean]
deps = coverage
skip_install = true
commands = coverage erase
; Uses default basepython otherwise reporting doesn't work on Travis where
; Python 3.5 is only available in 3.5 jobs.
[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
coverage combine
coverage report
; 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.txt