forked from mjumbewu/djangobars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (25 loc) · 931 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
language: python
python:
- "2.7"
- "3.3"
env:
- DJANGO="django<1.6" # 1.5.x
- DJANGO="django<1.7" # 1.6.x
- DJANGO="git+git://github.com/django/django.git@master#egg=django"
# command to install dependencies
install:
- pip install $DJANGO --use-mirrors
- pip install -r requirements.txt --use-mirrors
# command to run tests
script:
- export PYTHONPATH=.:./tests:$PYTHONPATH
# Make sure things work with template-generic settings
- coverage run tests/manage.py test project --settings=project.settings
# Make sure things work with handlebars-specific settings
- coverage run --append tests/manage.py test project --settings=project.settings_handlebars
# Make sure default settings are reasonable
- coverage run --append tests/manage.py test project --settings=project.settings_defaults
after_success:
- coverage report --include=djangobars/*
- pip install --quiet python-coveralls
- coveralls