language: python

install:
  - pip install coveralls tox

script:
  - tox

after_success:
  - coveralls

env:
  - TOXENV=django18-py27
  - TOXENV=django18-py33
  - TOXENV=django18-py34
  - TOXENV=django18-py35
  - TOXENV=django19-py27
  - TOXENV=django19-py34
  - TOXENV=django19-py35

matrix:
  allow_failures:
    # - env: TOXENV=django18-py27
    - env: TOXENV=django18-py33
    - env: TOXENV=django18-py34
    # - env: TOXENV=django18-py35
    - env: TOXENV=django19-py27
    - env: TOXENV=django19-py34
    - env: TOXENV=django19-py35
  fast_finish: true

language: python

install:
  - pip install coveralls tox

script:
  - tox

after_success:
  - coveralls

env:
  - TOXENV=django18-py27
  - TOXENV=django18-py33
  - TOXENV=django18-py34
  - TOXENV=django18-py35
  - TOXENV=django19-py27
  - TOXENV=django19-py34
  - TOXENV=django19-py35

matrix:
  allow_failures:
    # - env: TOXENV=django18-py27
    - env: TOXENV=django18-py33
    - env: TOXENV=django18-py34
    - env: TOXENV=django18-py35
    - env: TOXENV=django19-py27
    - env: TOXENV=django19-py34
    - env: TOXENV=django19-py35
  fast_finish: true

Allow Python 3.5 builds to fail. For some reason Python 3.5 is unavailable to tox.
Allow Python 3.5 builds to fail. For some reason Python 3.5 is unavailable to tox.

And we don't want to create a Travis CI build matrix because different
versions of Django support different versions of Python.
