forked from mishbahr/django-usersettings2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (27 loc) · 837 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
# Config file for automatic testing at travis-ci.org
language: python
python:
- "3.3"
- "2.7"
- "2.6"
env:
- DJANGO="Django==1.5"
- DJANGO="Django==1.6"
- DJANGO="Django==1.7"
- DJANGO="Django==1.8"
matrix:
exclude:
# Python 2.6 support has been dropped in Django 1.7
- python: "2.6"
env: DJANGO="Django==1.7"
- python: "2.6"
env: DJANGO="Django==1.8"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install $DJANGO --use-mirrors
- pip install wheel==0.24.0 --use-mirrors
- pip install -r requirements-test.txt --use-mirrors
# command to run tests using coverage, e.g. python setup.py test
script: coverage run --source usersettings runtests.py
# report coverage to coveralls.io
after_success: coveralls