Trying conditional build install override

This commit is contained in:
Jacob 2017-10-09 23:55:11 -05:00
parent 886d909a9a
commit 768fca668d
2 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,9 @@ 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
pip install djangorestframework==3.6.4
fi
python setup.py develop
elif [ "$TEST_TYPE" = lint ]; then
pip install flake8

View File

@ -10,7 +10,7 @@ with open('graphene_django/__init__.py', 'rb') as f:
f.read().decode('utf-8')).group(1)))
rest_framework_require = [
'djangorestframework>=3.6.3,<3.7.0',
'djangorestframework>=3.6.3',
]