Browse Source

[test] Using tox

pull/75/head
Louis 10 years ago
parent
commit
4323ca0ffb
  1. 2
      Requirements.txt
  2. 15
      tox.ini

2
Requirements.txt

@ -1,4 +1,4 @@
ply
Jinja2==2.7.3 Jinja2==2.7.3
argparse==1.2.1
chardet==2.2.1 chardet==2.2.1
unidecode>=0.04.16 unidecode>=0.04.16

15
tox.ini

@ -0,0 +1,15 @@
# To perform those tests, install `tox` and run "tox" from this directory.
[tox]
# Uncomment to use more python versions
#envlist = py26, py27, py32, py34, lint
envlist = py34, lint
[testenv]
commands = {envpython} setup.py test
deps =
[testenv:lint]
basepython=python3.4
deps=pylint
commands=pylint patacrep --rcfile=pylintrc
Loading…
Cancel
Save