Skip to content

Commit

Permalink
Modified tox.ini and test requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanocerza committed Dec 1, 2016
1 parent d156f2c commit 9da85c6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 4 deletions.
2 changes: 0 additions & 2 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
django>=1.5.1
py-moneyed==0.5.0
coverage
mock>=1.0.1
nose>=1.3.0
django-nose>=1.2
Expand Down
34 changes: 32 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,40 @@
[tox]
envlist = py27, py33
envlist =
py27-django{18,19,110,master},
py32-django18,
py33-django18,
py34-django{18,19,110,master},
py35-django{18,19,110,master},
flake8

[testenv]
deps =
django18: Django==1.8.16
django19: Django==1.9.11
django110: Django==1.10.3
djangomaster: https://github.com/django/django/archive/master.tar.gz
coverage==4.1
pytest-cov==2.3.0
-rrequirements-test.txt

setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/djmoney_rates
commands =
coverage run -a runtests.py

[testenv:py32-django18]
# coverage-4.1 doesn't support python-3.2.
commands=python runtests.py
deps =
-r{toxinidir}/requirements-test.txt
django18: Django==1.8.16
-rrequirements/testing.txt

[testenv:flake8]
deps =
flake8
commands =
flake8 djmoney_rates

[flake8]
max-line-length = 120
exclude = docs,.tox

0 comments on commit 9da85c6

Please sign in to comment.