1
0
Fork 0

Use tox in TravisCI (DRY!)

This commit is contained in:
Adam Dobrawy 2018-04-21 07:36:40 +02:00
parent 7a26838b3f
commit c807e733b8
2 changed files with 32 additions and 37 deletions

View file

@ -10,6 +10,7 @@ envlist=
py{34,35,36}-django20
[testenv]
passenv=EMAIL_IMAP_SERVER EMAIL_ACCOUNT EMAIL_PASSWORD EMAIL_SMTP_SERVER
deps=
django17: django>=1.7,<1.8
django18: django>=1.8,<1.9
@ -23,7 +24,7 @@ commands=
django110: python {toxinidir}/manage.py makemigrations --check --dry-run
django111: python {toxinidir}/manage.py makemigrations --check --dry-run
django20: python {toxinidir}/manage.py makemigrations --check --dry-run
python manage.py test {posargs}
python manage.py test -v2 {posargs}
[testenv:flake8]
deps=flake8