diff options
| author | swistakm | 2013-02-27 10:56:04 +0100 |
|---|---|---|
| committer | swistakm | 2013-02-27 10:56:04 +0100 |
| commit | dd355d511c2e1bf4b26be80955a4f53b20bfed1b (patch) | |
| tree | 89f34c50148aff8bf41e11e2e4af8e535b03326a | |
| parent | a4304458f5a07acc400b7630a59a4a0996e166d9 (diff) | |
| download | django-rest-framework-dd355d511c2e1bf4b26be80955a4f53b20bfed1b.tar.bz2 | |
oauth2 & django-oauth-plus installed only on 2.x
| -rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 046b6d9c..52ed562c 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=. |
