2012-09-07 16:32:52 +04:00
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
2012-12-02 04:26:02 +04:00
|
|
|
- "2.6"
|
2012-09-07 16:32:52 +04:00
|
|
|
- "2.7"
|
2012-11-21 21:21:26 +04:00
|
|
|
- "3.2"
|
2013-02-01 19:07:51 +04:00
|
|
|
- "3.3"
|
2012-09-07 16:32:52 +04:00
|
|
|
|
|
|
|
env:
|
2013-05-28 16:49:27 +04:00
|
|
|
- DJANGO="https://www.djangoproject.com/download/1.6a1/tarball/"
|
2013-05-18 14:07:44 +04:00
|
|
|
- DJANGO="django==1.5.1 --use-mirrors"
|
|
|
|
- DJANGO="django==1.4.5 --use-mirrors"
|
2012-09-07 16:32:52 +04:00
|
|
|
|
|
|
|
install:
|
2012-10-11 16:12:43 +04:00
|
|
|
- pip install $DJANGO
|
2013-09-25 13:30:04 +04:00
|
|
|
- pip install defusedxml==0.3 --use-mirrors
|
|
|
|
- pip install django-filter==0.6 --use-mirrors
|
2013-03-07 13:01:53 +04:00
|
|
|
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install oauth2==1.5.211 --use-mirrors; fi"
|
|
|
|
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth-plus==2.0 --use-mirrors; fi"
|
2013-06-02 23:34:12 +04:00
|
|
|
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth2-provider==0.2.4 --use-mirrors; fi"
|
2013-09-11 00:06:53 +04:00
|
|
|
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-guardian==1.1.1 --use-mirrors; fi"
|
2012-10-11 16:12:43 +04:00
|
|
|
- export PYTHONPATH=.
|
2012-09-07 16:32:52 +04:00
|
|
|
|
|
|
|
script:
|
2013-06-14 15:55:48 +04:00
|
|
|
- python rest_framework/runtests/runtests.py
|
2012-11-23 04:22:39 +04:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- python: "3.2"
|
2013-05-18 14:07:44 +04:00
|
|
|
env: DJANGO="django==1.4.5 --use-mirrors"
|
2013-02-01 19:07:51 +04:00
|
|
|
- python: "3.3"
|
2013-05-18 14:07:44 +04:00
|
|
|
env: DJANGO="django==1.4.5 --use-mirrors"
|