Missing tox.ini

This commit is contained in:
Julien Palard 2017-04-25 21:38:31 +02:00
parent 6b3293a0b5
commit d0717d2459
1 changed files with 22 additions and 0 deletions

22
tox.ini Normal file
View File

@ -0,0 +1,22 @@
[tox]
envlist = py33, py34, py35, py36, flake8
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 licensename
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/test-requirements.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