Skip to content

Commit b88d66f

Browse files
author
Jacob
committed
Trying conditional build install override
1 parent 886d909 commit b88d66f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ 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
15+
pip install djangorestframework<3.7.0
16+
fi
1417
python setup.py develop
1518
elif [ "$TEST_TYPE" = lint ]; then
1619
pip install flake8

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
f.read().decode('utf-8')).group(1)))
1111

1212
rest_framework_require = [
13-
'djangorestframework>=3.6.3,<3.7.0',
13+
'djangorestframework>=3.6.3',
1414
]
1515

1616

0 commit comments

Comments
 (0)