Update the Travis and Tox to work

This commit is contained in:
Silvio Leite
2018-08-15 11:12:51 -03:00
parent c950daee2e
commit 8bd401827d
2 changed files with 3 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
language: python
python:
- "3.6"
- "3.7"
env:
- DJANGO_VERSION=2.0
install:

View File

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