Improve testing (#415)

These changes:

 - Fix the lint and the djmaster jobs
 - Fix compatibility with upcoming Django 3.0
 - Replace jobs with matrix in .travis.yml
 - Add a test job for Python 3.8
 - Allow running tests on any branch
This commit is contained in:
Aliaksei Urbanski
2019-10-03 01:38:02 +03:00
committed by Cristi Vîjdea
parent 16f67cd8c2
commit 9a89d8ccb0
8 changed files with 28 additions and 23 deletions
-3
View File
@@ -1,6 +1,5 @@
# test project requirements
Pillow>=4.3.0
django-cors-headers>=2.1.0
django-filter>=1.1.0,<2.0; python_version == "2.7"
django-filter>=1.1.0; python_version >= "3.5"
#djangorestframework-camel-case>=0.2.0
@@ -9,5 +8,3 @@ django-filter>=1.1.0; python_version >= "3.5"
djangorestframework-recursive>=0.1.2
dj-database-url>=0.4.2
user_agents>=1.1.0
# django-oauth-toolkit 1.2 does not support Django 1.11
django-oauth-toolkit>=1.1.0,<1.2.0