forked from zostera/django-bootstrap3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (50 loc) · 1.36 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
46
47
48
49
50
51
52
53
54
55
56
# We do not use sudo
sudo: false
# Python versions for matrix
language: python
python:
- "2.7"
- "2.6"
- "3.2"
- "3.3"
- "3.4"
# Django versions for matrix
env:
- DJANGO_VERSION=1.4.21
- DJANGO_VERSION=1.5.12
- DJANGO_VERSION=1.6.11
- DJANGO_VERSION=1.7.9
- DJANGO_VERSION=1.8.5
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -q Django==$DJANGO_VERSION --use-mirrors --quiet
# Coverage 4.0 no longer supports py32. Install an older version before
# coveralls tries to install the latest
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then travis_retry pip install 'coverage<4.0'; fi
- pip install coveralls
# Command to run tests, e.g. python setup.py test
script:
- coverage run --source=bootstrap3 manage.py test
# Support Python3 only with Django 1.6+
# Support Django 1.7+ only with Python 2.7+
matrix:
exclude:
- python: "3.2"
env: DJANGO_VERSION=1.4.21
- python: "3.3"
env: DJANGO_VERSION=1.4.21
- python: "3.4"
env: DJANGO_VERSION=1.4.21
- python: "3.2"
env: DJANGO_VERSION=1.5.12
- python: "3.3"
env: DJANGO_VERSION=1.5.12
- python: "3.4"
env: DJANGO_VERSION=1.5.12
- python: "2.6"
env: DJANGO_VERSION=1.7.9
- python: "2.6"
env: DJANGO_VERSION=1.8.5
# Report to coveralls
after_success:
- coveralls