diff --git a/.travis.yml b/.travis.yml index 046b6d9cc..52ed562cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,8 +14,8 @@ env: install: - pip install $DJANGO - pip install defusedxml==0.3 - - pip install oauth2 - - pip install django-oauth-plus + - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install oauth2; fi" + - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth-plus; fi" - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-filter==0.5.4 --use-mirrors; fi" - "if [[ ${TRAVIS_PYTHON_VERSION::1} == '3' ]]; then pip install https://github.com/alex/django-filter/tarball/master; fi" - export PYTHONPATH=.