diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2016-04-06 23:51:15 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2016-04-06 23:55:37 +0200 |
commit | b401c3d2eac2aa9b73815034b44af75f65e6d7bc (patch) | |
tree | 15726798ab5f5200837e5c717020cba4b951d0d2 /tox.ini | |
parent | c22729d03d291814ae196ce7652954db9e42ed97 (diff) | |
download | factory-boy-b401c3d2eac2aa9b73815034b44af75f65e6d7bc.tar factory-boy-b401c3d2eac2aa9b73815034b44af75f65e6d7bc.tar.gz |
Refactor test setup/commands, enable tox.
Closes #273.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -0,0 +1,35 @@ +[tox] +envlist = + py{27,34}-django{17,18,19} + py{27,34}-alchemy10 + py{27,34}-mongoengine010 + examples + 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 + django{17,18,19}: Pillow + alchemy10: SQLAlchemy>=1.0,<1.1 + mongoengine010: mongoengine>=0.10,<0.11 + +whitelist_externals = make +commands = make test + +[testenv:examples] +basepython = python3.4 +deps = + -rrequirements_test.txt + -rexamples/requirements.txt + +whitelist_externals = make +commands = make example-test + +[testenv:lint] +whitelist_externals = make +commands = make lint |