forked from adamchainz/django-cors-headers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (41 loc) · 1.05 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
45
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
env:
- DJANGO_VERSION="Django==1.3.7"
- DJANGO_VERSION="Django==1.4.15"
- DJANGO_VERSION="Django==1.5.10"
- DJANGO_VERSION="Django==1.6.7"
- DJANGO_VERSION="Django==1.7.0"
- DJANGO_VERSION="Django==1.8.0"
matrix:
exclude:
- python: 3.2
env: DJANGO_VERSION="Django==1.3.7"
- python: 3.3
env: DJANGO_VERSION="Django==1.3.7"
- python: 3.4
env: DJANGO_VERSION="Django==1.3.7"
- python: 3.2
env: DJANGO_VERSION="Django==1.4.15"
- python: 3.3
env: DJANGO_VERSION="Django==1.4.15"
- python: 3.4
env: DJANGO_VERSION="Django==1.4.15"
- python: 2.6
env: DJANGO_VERSION="Django==1.7.0"
- python: 2.6
env: DJANGO_VERSION="Django==1.8.0"
install:
- pip install -q $DJANGO_VERSION
- pip install . --use-mirrors
- pip install "flake8>=2.2.5"
- pip install "coverage>=3.7.1"
script:
- flake8 --config flake8.cfg .
- coverage run setup.py test
- coverage report