mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-07 07:00:35 +03:00
Trying conditional build install override
This commit is contained in:
parent
886d909a9a
commit
768fca668d
|
@ -11,6 +11,9 @@ install:
|
||||||
pip install -e .[test]
|
pip install -e .[test]
|
||||||
pip install psycopg2 # Required for Django postgres fields testing
|
pip install psycopg2 # Required for Django postgres fields testing
|
||||||
pip install django==$DJANGO_VERSION
|
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
|
python setup.py develop
|
||||||
elif [ "$TEST_TYPE" = lint ]; then
|
elif [ "$TEST_TYPE" = lint ]; then
|
||||||
pip install flake8
|
pip install flake8
|
||||||
|
|
Loading…
Reference in New Issue
Block a user