mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Use tox in TravisCI (DRY!)
This commit is contained in:
parent
7a26838b3f
commit
c807e733b8
2 changed files with 32 additions and 37 deletions
3
tox.ini
3
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue