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"
|
2014-05-12 07:29:01 +04:00
|
|
|
- "3.4"
|
2012-09-07 16:32:52 +04:00
|
|
|
|
|
|
|
env:
|
2014-07-28 10:00:50 +04:00
|
|
|
- DJANGO="https://www.djangoproject.com/download/1.7c2/tarball/"
|
2014-05-18 11:27:23 +04:00
|
|
|
- DJANGO="django==1.6.5"
|
|
|
|
- DJANGO="django==1.5.8"
|
|
|
|
- DJANGO="django==1.4.13"
|
2012-09-07 16:32:52 +04:00
|
|
|
|
|
|
|
install:
|
2012-10-11 16:12:43 +04:00
|
|
|
- pip install $DJANGO
|
2014-08-19 13:11:10 +04:00
|
|
|
- pip install defusedxml==0.3
|
|
|
|
- pip install Pillow==2.3.0
|
|
|
|
- pip install django-guardian==1.2.3
|
2014-04-17 13:09:02 +04:00
|
|
|
- pip install pytest-django==2.6.1
|
2014-08-19 16:42:01 +04:00
|
|
|
- pip install flake8==2.2.2
|
2013-11-08 14:58:14 +04:00
|
|
|
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install oauth2==1.5.211; fi"
|
2014-01-30 20:18:03 +04:00
|
|
|
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth-plus==2.2.4; fi"
|
2013-11-08 14:58:14 +04:00
|
|
|
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth2-provider==0.2.4; fi"
|
|
|
|
- "if [[ ${DJANGO::11} == 'django==1.3' ]]; then pip install django-filter==0.5.4; fi"
|
2014-01-28 10:40:13 +04:00
|
|
|
- "if [[ ${DJANGO::11} != 'django==1.3' ]]; then pip install django-filter==0.7; fi"
|
2014-07-28 10:00:50 +04:00
|
|
|
- "if [[ ${DJANGO} == 'https://www.djangoproject.com/download/1.7c2/tarball/' ]]; then pip install -e git+https://github.com/linovia/django-guardian.git@feature/django_1_7#egg=django-guardian-1.2.0; fi"
|
2012-10-11 16:12:43 +04:00
|
|
|
- export PYTHONPATH=.
|
2012-09-07 16:32:52 +04:00
|
|
|
|
|
|
|
script:
|
2014-08-19 16:28:07 +04:00
|
|
|
- ./runtests.py
|
2012-11-23 04:22:39 +04:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
exclude:
|
2014-01-28 10:40:13 +04:00
|
|
|
- python: "2.6"
|
2014-07-28 10:00:50 +04:00
|
|
|
env: DJANGO="https://www.djangoproject.com/download/1.7c2/tarball/"
|
2012-11-23 04:22:39 +04:00
|
|
|
- python: "3.2"
|
2014-05-18 11:27:23 +04:00
|
|
|
env: DJANGO="django==1.4.13"
|
2013-02-01 19:07:51 +04:00
|
|
|
- python: "3.3"
|
2014-05-18 11:27:23 +04:00
|
|
|
env: DJANGO="django==1.4.13"
|
2014-05-12 07:29:01 +04:00
|
|
|
- python: "3.4"
|
2014-05-18 11:27:23 +04:00
|
|
|
env: DJANGO="django==1.4.13"
|