# Borrowed from https://github.com/tomchristie/django-rest-framework/blob/master/.travis.yml
language: python

sudo: false

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

matrix:
    # Python 3.5 not yet available on travis, watch this to see when it is.
  fast_finish: true
  allow_failures:
    - env: TOX_ENV=py35-django19

install:
  - pip install tox

script:
    - tox -e $TOX_ENV

after_success:
    - pip install codecov
    - codecov

# Borrowed from https://github.com/tomchristie/django-rest-framework/blob/master/.travis.yml
language: python

sudo: false

env:
  - TOX_ENV=py35-django19
  - TOX_ENV=py34-django19
  - TOX_ENV=py27-django19
  - TOX_ENV=py34-django18
  - TOX_ENV=py33-django18
  - TOX_ENV=py27-django18
  - TOX_ENV=coverage

matrix:
    # Python 3.5 not yet available on travis, watch this to see when it is.
  fast_finish: true
  allow_failures:
    - env: TOX_ENV=py35-django19

install:
  - pip install tox

script:
    - tox -e $TOX_ENV

after_success:
    - pip install codecov
    - codecov

Revert "And remove the now dead env"
Revert "And remove the now dead env"

This reverts commit ca78019eb10840284ac1caa82e872e2971070a1c.
