forked from glemmaPaul/django-taggit-serializer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (23 loc) · 807 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
# Config file for automatic testing at travis-ci.org
language: python
sudo: false
python:
- "3.6"
- "3.5"
- "2.7"
env:
- DJANGO_REST_VERSION=3.8.0 DJANGO_VERSION=">=2.0"
- DJANGO_REST_VERSION=3.7.7 DJANGO_VERSION="<2.0"
- DJANGO_REST_VERSION=3.3.3 DJANGO_VERSION="<1.11"
- DJANGO_REST_VERSION=3.2.5 DJANGO_VERSION="<=1.9"
- DJANGO_REST_VERSION=3.1.3 DJANGO_VERSION="<=1.8"
matrix:
exclude:
- python: "2.7"
env: DJANGO_REST_VERSION=3.8.0 DJANGO_VERSION=">=2.0"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -q djangorestframework==$DJANGO_REST_VERSION Django$DJANGO_VERSION
- pip install -r requirements-test.txt
# command to run tests using coverage, e.g. python setup.py test
script: python runtests.py