2013-03-23 07:13:01 +11:00
|
|
|
language: python
|
2013-11-26 08:59:27 +11:00
|
|
|
|
2013-03-23 07:13:01 +11:00
|
|
|
python:
|
2013-11-26 09:10:24 +11:00
|
|
|
- 2.7
|
|
|
|
- 3.3
|
2013-11-26 08:59:27 +11:00
|
|
|
|
|
|
|
env:
|
2014-10-28 21:52:04 +11:00
|
|
|
- DJANGO=1.4.16
|
|
|
|
- DJANGO=1.6.8
|
|
|
|
- DJANGO=1.7.1
|
2013-11-26 08:59:27 +11:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
exclude:
|
2013-11-26 09:10:24 +11:00
|
|
|
- python: 3.3
|
2014-10-28 21:52:04 +11:00
|
|
|
env: DJANGO=1.4.16
|
2013-11-26 09:10:24 +11:00
|
|
|
- python: 3.3
|
2014-10-28 21:52:04 +11:00
|
|
|
env: DJANGO=1.6.8
|
2013-11-26 08:59:27 +11:00
|
|
|
|
2013-12-03 07:31:32 +11:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
|
2013-03-23 07:13:01 +11:00
|
|
|
install:
|
2013-11-26 09:10:24 +11:00
|
|
|
- "pip install coverage==3.7"
|
|
|
|
- "pip install python-coveralls==2.4.0"
|
2013-11-26 08:59:27 +11:00
|
|
|
- "pip install Django==$DJANGO"
|
2013-03-23 08:48:25 +11:00
|
|
|
- "pip install -e ."
|
2013-11-26 08:59:27 +11:00
|
|
|
|
2013-11-25 10:08:31 +11:00
|
|
|
script:
|
2013-11-26 08:44:36 +11:00
|
|
|
coverage run --rcfile=.coverage.rc runtests.py
|
2013-11-26 08:59:27 +11:00
|
|
|
|
2013-11-25 10:08:31 +11:00
|
|
|
after_success:
|
|
|
|
coveralls --config_file=.coverage.rc --coveralls_yaml=.coveralls.yml
|