mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-06 22:50:34 +03:00
Force pytest-django verison for testing compatibility with Django 1.6
This commit is contained in:
parent
459e390b47
commit
dd6c5d1611
|
@ -22,7 +22,7 @@ before_install:
|
||||||
install:
|
install:
|
||||||
- |
|
- |
|
||||||
if [ "$TEST_TYPE" = build ]; then
|
if [ "$TEST_TYPE" = build ]; then
|
||||||
pip install pytest==3.0.2 pytest-cov pytest-benchmark coveralls six pytest-django mock django-filter
|
pip install pytest==3.0.2 pytest-cov pytest-benchmark coveralls six pytest-django==2.9.1 mock django-filter
|
||||||
pip install django==$DJANGO_VERSION
|
pip install django==$DJANGO_VERSION
|
||||||
pip install -e .
|
pip install -e .
|
||||||
python setup.py develop
|
python setup.py develop
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -42,7 +42,7 @@ setup(
|
||||||
tests_require=[
|
tests_require=[
|
||||||
'django-filter>=0.10.0',
|
'django-filter>=0.10.0',
|
||||||
'pytest',
|
'pytest',
|
||||||
'pytest-django',
|
'pytest-django==2.9.1',
|
||||||
'mock',
|
'mock',
|
||||||
# Required for Django postgres fields testing
|
# Required for Django postgres fields testing
|
||||||
'psycopg2',
|
'psycopg2',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user