/
.travis.yml
41 lines (35 loc) · 994 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
35
36
37
38
39
40
41
language: python
python:
- 2.6
- 2.7
# django-inlinecss is py2 only for now :(
#- 3.2
#- 3.3
env:
- DJANGO=https://github.com/django/django/tarball/master
- DJANGO=Django==1.6.3
- DJANGO=Django==1.5.6
- DJANGO=Django==1.4.11
install:
# For the moment, released django-nose does not work with Django@master.
- pip install git+git://github.com/brad/django-nose@django_1.7
- pip install $DJANGO --use-mirrors
- pip install flake8 --use-mirrors
- pip install coverage coveralls --use-mirrors
- pip install -e . --use-mirrors
script:
# - flake8 --max-line-length=100 --max-complexity=10 --statistics --benchmark badgekit_webhooks
- coverage run setup.py test
- coverage report
matrix:
exclude:
- python: 2.6
env: DJANGO=https://github.com/django/django/tarball/master
- python: 3.2
env: DJANGO=Django==1.4.11
- python: 3.3
env: DJANGO=Django==1.4.11
include:
- python: 2.7
env: DJANGO=Django==1.5.6
after_success: coveralls