add django 3.0 to the ci

This commit is contained in:
Gonçalo Valério 2020-01-06 18:13:47 +00:00
parent 1de5510680
commit 9fd12ae4fc
2 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,7 @@ python:
env: env:
- DJANGO_VERSION=django-22 - DJANGO_VERSION=django-22
- DJANGO_VERSION=django-30
matrix: matrix:
fast_finish: true fast_finish: true

View File

@ -1,6 +1,6 @@
[tox] [tox]
envlist = envlist =
{py36,py37,py38}-django-22 {py36,py37,py38}-django-{22,30}
[testenv] [testenv]
setenv = setenv =
@ -8,6 +8,8 @@ setenv =
commands = pytest --cov=django_cryptolock tests/ commands = pytest --cov=django_cryptolock tests/
deps = deps =
-r {toxinidir}/requirements_test.txt -r {toxinidir}/requirements_test.txt
django-22: django>=2.2,<3.0
django-30: django>=3.0,<3.1
basepython = basepython =
py38: python3.8 py38: python3.8
py37: python3.7 py37: python3.7