sudo: false

language: python

python:
  - 2.7
  - 3.2
  - 3.3
  - 3.4

env:
  - REQUIREMENTS="django>=1.7,<1.8"
  - REQUIREMENTS="django>=1.8,<1.9"
  - REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"

matrix:
  exclude:
    - python: 3.2
      env: REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"
  allow_failures:
    - env: REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"

cache: pip

install: pip install $REQUIREMENTS mock flake8 coveralls

script: python -R -Wonce `which coverage` run `which django-admin.py` test colorful --pythonpath=`pwd` --settings=colorful.tests.settings -v2

after_success:
  - flake8
  - coverage report -m
  - coveralls

sudo: false

language: python

python:
  - 2.7
  - 3.2
  - 3.3
  - 3.4

env:
  - REQUIREMENTS="django>=1.7,<1.8"
  - REQUIREMENTS="django>=1.8,<1.9"
  - REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"

matrix:
  exclude:
    - python: 3.2
      env: REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"
  allow_failures:
    - env: REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"

cache: pip

install: pip install $REQUIREMENTS "coverage<4.0" mock flake8 coveralls

script: python -R -Wonce `which coverage` run `which django-admin.py` test colorful --pythonpath=`pwd` --settings=colorful.tests.settings -v2

after_success:
  - flake8
  - coverage report -m
  - coveralls

Use a version of coverage compatible with Python 3.2
Use a version of coverage compatible with Python 3.2
