Implementing the tox and travis

This commit is contained in:
Silvio Leite
2018-08-14 15:39:13 -03:00
parent fbad2744e1
commit c950daee2e
4 changed files with 25 additions and 0 deletions

12
tox.ini Normal file
View File

@@ -0,0 +1,12 @@
[tox]
envlist = py37-django{18,20}
[testenv]
commands = python runtests.py
setenv =
DJANGO_SETTINGS_MODULE=tests.test_settings
PYTHONPATH={toxinidir}
basepython =
py36: python3.6
py37: python3.7
deps = django20: Django==2.0