mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-26 03:48:11 +08:00
* added default module django_q * set build mode to nit-picky * warnings raise errors Want to make sure the docs are neat and build on Travis , to make it easier to accept doc pull requests
34 lines
597 B
YAML
34 lines
597 B
YAML
language: python
|
|
|
|
services:
|
|
- redis-server
|
|
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
|
|
env:
|
|
- DJANGO=1.8.3
|
|
- DJANGO=1.7.9
|
|
|
|
install:
|
|
- pip install -q django==$DJANGO
|
|
- pip install -r requirements.txt
|
|
- pip install pytest-django coveralls sphinx
|
|
- python setup.py install
|
|
|
|
script:
|
|
- coverage run --source=django_q -m py.test
|
|
- sphinx-build -b html -d docs/_build/doctrees -nW docs docs/_build/html
|
|
|
|
after_success:
|
|
- coveralls
|
|
|
|
notifications:
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/cbcff78c4be241602332
|
|
on_success: change
|
|
on_failure: always
|
|
on_start: never
|