forked from Koed00/django-q
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
54 lines (43 loc) · 1006 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
42
43
44
45
46
47
48
49
50
51
52
53
54
language: python
services:
- redis-server
- mongodb
python:
- "3.6"
- "3.7"
env:
- DJANGO=2.2.5
- DJANGO=1.11.24
matrix:
exclude:
- python: "3.7"
env: DJANGO=1.11.24
sudo: true
dist: xenial
addons:
apt:
packages:
- tcl8.5
before_script:
- git clone https://github.com/antirez/disque.git disque_server
- "cd disque_server/src && make && PREFIX=../ make install && cd -"
- "./disque_server/bin/disque-server &"
- ./disque_server/bin/disque PING
install:
- pip install -q django==$DJANGO
- pip install -r requirements.txt
- pip install pytest --upgrade
- pip install pytest-django codecov 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:
- codecov
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/cbcff78c4be241602332
on_success: change
on_failure: always
on_start: never