From e7d6feb7bff758ac9e4e9d0f1062f360a4aa4e91 Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Sun, 7 Jan 2018 16:00:41 +0000 Subject: [PATCH 1/2] Install djangorestframework 3.6.4 for Django version 1.9 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ef8a3d604..a1be9e30f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ install: pip install -e .[test] pip install psycopg2 # Required for Django postgres fields testing pip install django==$DJANGO_VERSION - if [ $DJANGO_VERSION = 1.8 ]; then # DRF dropped 1.8 support at 3.7.0 + if [ $DJANGO_VERSION = 1.8 || $DJANGO_VERSION = 1.9 ]; then # DRF dropped 1.8 and 1.9 support at 3.7.0 pip install djangorestframework==3.6.4 fi python setup.py develop From 390c827f70937e66a3e178392f04c03f7b41716b Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Sun, 7 Jan 2018 16:07:34 +0000 Subject: [PATCH 2/2] Fix bash check --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a1be9e30f..8be88000e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ install: pip install -e .[test] pip install psycopg2 # Required for Django postgres fields testing pip install django==$DJANGO_VERSION - if [ $DJANGO_VERSION = 1.8 || $DJANGO_VERSION = 1.9 ]; then # DRF dropped 1.8 and 1.9 support at 3.7.0 + if [ $DJANGO_VERSION == 1.8 ] || [ $DJANGO_VERSION == 1.9 ]; then # DRF dropped 1.8 and 1.9 support at 3.7.0 pip install djangorestframework==3.6.4 fi python setup.py develop