language: python

python:
    - "2.7"
    - 3.4.4
    - "3.5"
    - "3.6"

env:
    - DJANGO=1.8.18
    - DJANGO=1.9.13
    - DJANGO=1.10.7
    - DJANGO=1.11

install:
    - pip install -q Django==$DJANGO
    - pip install -q -r requirements.txt
    - pip install -q -r requirements-testing.txt

before_script:
    - "pep8 --exclude=migrations --ignore=E501 helpdesk"

script:
    - coverage run --source='.' quicktest.py helpdesk

after_success:
    - codecov