Fix bash check

This commit is contained in:
Jonathan Kim 2018-01-07 16:07:34 +00:00
parent e7d6feb7bf
commit 390c827f70

View File

@ -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