forked from wlanslovenija/django-tastypie-mongoengine
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
44 lines (43 loc) · 2.09 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: python
python:
- 2.6
- 2.7
env:
- DJANGO_VERSION="<1.6" TASTYPIE_VERSION="<0.10.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- DJANGO_VERSION="<1.6" TASTYPIE_VERSION="<0.11.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- DJANGO_VERSION="<1.6" TASTYPIE_VERSION="<0.12.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- DJANGO_VERSION="<1.6" TASTYPIE_VERSION="" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- DJANGO_VERSION="<1.7" TASTYPIE_VERSION="<0.10.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- DJANGO_VERSION="<1.7" TASTYPIE_VERSION="<0.11.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- DJANGO_VERSION="<1.7" TASTYPIE_VERSION="<0.12.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- DJANGO_VERSION="<1.7" TASTYPIE_VERSION="" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- DJANGO_VERSION="" TASTYPIE_VERSION="<0.10.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- DJANGO_VERSION="" TASTYPIE_VERSION="<0.11.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- DJANGO_VERSION="" TASTYPIE_VERSION="<0.12.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- DJANGO_VERSION="" TASTYPIE_VERSION="" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
matrix:
exclude:
- python: 2.6
env: DJANGO_VERSION="" TASTYPIE_VERSION="<0.10.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- python: 2.6
env: DJANGO_VERSION="" TASTYPIE_VERSION="<0.11.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- python: 2.6
env: DJANGO_VERSION="" TASTYPIE_VERSION="<0.12.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
- python: 2.6
env: DJANGO_VERSION="" TASTYPIE_VERSION="" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
allow_failures: # tastypie 0.10.0 is incompatible with django1.7, imports django.utils.simplejson
- python: 2.7
env: DJANGO_VERSION="" TASTYPIE_VERSION="<0.11.0" MONGOENGINE_VERSION=">=0.8.1,<0.8.2"
services: mongodb
install:
- pip install "Django$DJANGO_VERSION"
- pip install "django-tastypie$TASTYPIE_VERSION"
- pip install "mongoengine$MONGOENGINE_VERSION"
- pip install pep8 --use-mirrors
- pip install pylint --use-mirrors
- python setup.py install
before_script:
- pep8 tastypie_mongoengine tests
- pylint tastypie_mongoengine tests || true
script:
- python -Wall setup.py test