diff --git a/.travis.yml b/.travis.yml index b6ac814..1ac8f98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ before_install: install: - | 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 -e . python setup.py develop diff --git a/setup.py b/setup.py index 0369fd0..d4ecb4b 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ setup( tests_require=[ 'django-filter>=0.10.0', 'pytest', - 'pytest-django', + 'pytest-django==2.9.1', 'mock', # Required for Django postgres fields testing 'psycopg2',