language: python

services:
  - redis-server
  - mongodb

python:
  - "2.7"
  - "3.4"

env:
    - DJANGO=1.9.6
    - DJANGO=1.8.13

sudo: false

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

language: python

services:
  - redis-server
  - mongodb

python:
  - "2.7"
  - "3.4"

env:
    - DJANGO=1.10a1
    - DJANGO=1.9.7
    - DJANGO=1.8.13

sudo: false

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

Test for 1.9.7 and 1.10a1
Test for 1.9.7 and 1.10a1
