diff options
author | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2016-09-01 13:36:37 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2016-09-01 13:48:55 +0200 |
commit | ae9ccbd5178f359a4e07a7491c629b10a3843133 (patch) | |
tree | 1811ba6e1ca59266ab0598dbbb17778652967de7 /tox.ini | |
parent | 112ce0dc974eec7fdb1b3abbd32dce029b2e7828 (diff) | |
download | semantic-version-ae9ccbd5178f359a4e07a7491c629b10a3843133.tar.gz |
Rearrange test suite.
* Use tox
* Add a full linting step
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,24 @@ +[tox] +envlist = + py{27,34,35}-django{17,18,19,110} + lint + +toxworkdir = {env:TOX_WORKDIR:.tox} + +[testenv] +deps = + -rrequirements_test.txt + django17: Django>=1.7,<1.8 + django18: Django>=1.8,<1.9 + django19: Django>=1.9,<1.10 + django110: Django>=1.10,<1.11 + +whitelist_externals = make +commands = make test + +[testenv:lint] +deps = + -rrequirements_test.txt + +whitelist_externals = make +commands = make lint |