From dd355d511c2e1bf4b26be80955a4f53b20bfed1b Mon Sep 17 00:00:00 2001 From: swistakm Date: Wed, 27 Feb 2013 10:56:04 +0100 Subject: [PATCH] oauth2 & django-oauth-plus installed only on 2.x --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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=.