forked from evonove/django-money-rates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified tox.ini and test requirements
- Loading branch information
1 parent
d156f2c
commit 9da85c6
Showing
2 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |