forked from sunscrapers/djoser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (31 loc) · 944 Bytes
/
.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
language: python
python:
- "2.6"
- "2.7"
- "3.4"
env:
- DJANGO_VERSION=1.5.12 DRF_VERSION=2.4.5
- DJANGO_VERSION=1.6.11 DRF_VERSION=2.4.5
- DJANGO_VERSION=1.7.7 DRF_VERSION=2.4.5
- DJANGO_VERSION=1.5.12 DRF_VERSION=3.1.1
- DJANGO_VERSION=1.6.11 DRF_VERSION=3.1.1
- DJANGO_VERSION=1.7.7 DRF_VERSION=3.1.1
- DJANGO_VERSION=1.8 DRF_VERSION=3.1.1
matrix:
exclude:
# Django 1.7 and 1.8 dropped support for Python 2.6.
- python: "2.6"
env: DJANGO_VERSION=1.7.7 DRF_VERSION=2.4.5
- python: "2.6"
env: DJANGO_VERSION=1.7.7 DRF_VERSION=3.1.1
- python: "2.6"
env: DJANGO_VERSION=1.8 DRF_VERSION=3.1.1
install:
- pip install -q Django==$DJANGO_VERSION
- pip install -q djangorestframework==$DRF_VERSION
- pip install -q djet==0.0.10
- pip install coveralls
- python setup.py -q develop
script: coverage run --source=djoser testproject/manage.py test testapp
after_success:
coveralls