-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
29 lines (23 loc) · 591 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
[tox]
envlist = py26, py27, py33, py34, py35, flake8
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 scorekeeper
[flake8]
ignore = E501
max-line-length = 100
[pytest]
xfail_strict=true
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/scorekeeper
deps =
-r{toxinidir}/requirements_dev.txt
commands =
pip install -U pip
py.test --basetemp={envtmpdir}
; 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