Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add Django 2.1 to the test matrix

Patryk Zawadzkib27200edd651
diff --git a/.travis.yml b/.travis.yml
index 70e97f4b23..ac311521c0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,14 +24,21 @@ env:
matrix:
- DJANGO="1.11"
- DJANGO="2.0"
+ - DJANGO="2.1"
- DJANGO="master"
matrix:
allow_failures:
+ - python: "3.5"
+ env: DJANGO="2.1"
- python: "3.5"
env: DJANGO="master"
+ - python: "3.6"
+ env: DJANGO="2.1"
- python: "3.6"
env: DJANGO="master"
exclude:
+ - python: "3.4"
+ env: DJANGO="2.1"
- python: "3.4"
env: DJANGO="master"
after_success:
diff --git a/tox.ini b/tox.ini
index 369725c831..f5f8ba6a64 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py{34,35,36}-django{111,20,_master}
+envlist = py{34,35,36}-django{111,20,21,_master}
skipsdist = True
[testenv]
@@ -10,6 +10,7 @@ deps =
commands =
django111: pip install "django>=1.11a1,<1.12" --upgrade --pre
django20: pip install "django>=2.0a1,<2.1" --upgrade --pre
+ django21: pip install "django>=2.1a1,<2.2" --upgrade --pre
django_master: pip install https://github.com/django/django/archive/master.tar.gz
python manage.py collectstatic --noinput
pytest --vcr-record-mode=none --cov --cov-report=
@@ -25,4 +26,5 @@ unignore_outcomes = True
DJANGO =
1.11: django111
2.0: django20
+ 2.1: django21
master: django_master