Skip to content

Commit 53546a2

Browse files
authored
Merge pull request #388 from graphql-python/fix/drf-test
Fix Django Rest Framework version when testing
2 parents e05f069 + 0dddea5 commit 53546a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ install:
1111
pip install -e .[test]
1212
pip install psycopg2 # Required for Django postgres fields testing
1313
pip install django==$DJANGO_VERSION
14-
if [ $DJANGO_VERSION = 1.8 ]; then # DRF dropped 1.8 support at 3.7.0
14+
if (($(echo "$DJANGO_VERSION <= 1.9" | bc -l))); then # DRF dropped 1.8 and 1.9 support at 3.7.0
1515
pip install djangorestframework==3.6.4
1616
fi
1717
python setup.py develop

0 commit comments

Comments
 (0)