# Config file for automatic testing at travis-ci.org

language: python

python:
    - "2.7"
    - "3.4"
    - "3.5"

sudo: false

env:
    - DJANGO=1.8
    - DJANGO=1.9
    - DJANGO=1.10
    - DJANGO=1.11
    - DJANGO=master

matrix:
    fast_finish: true
    include:
      - python: "3.6"
        env: DJANGO=master
      - python: "3.6"
        env: DJANGO=1.11
      - python: "3.3"
        env: DJANGO=1.8
    exclude:
      - python: "2.7"
        env: DJANGO=master
      - python: "3.4"
        env: DJANGO=master

    allow_failures:
      - env: DJANGO=master

install: pip install tox-travis

# command to run tests using coverage, e.g. python setup.py test
script: tox

before_install:
  - pip install codecov

after_success:
  - tox -e coverage-report
  - codecov

# Config file for automatic testing at travis-ci.org

language: python

python:
    - "3.5"
    - "3.4"
    - "2.7"

sudo: false

env:
    - DJANGO=master
    - DJANGO=1.11
    - DJANGO=1.10
    - DJANGO=1.9
    - DJANGO=1.8


matrix:
    fast_finish: true
    include:
      - python: "3.6"
        env: DJANGO=master
      - python: "3.6"
        env: DJANGO=1.11
      - python: "3.3"
        env: DJANGO=1.8
    exclude:
      - python: "2.7"
        env: DJANGO=master
      - python: "3.4"
        env: DJANGO=master

    allow_failures:
      - env: DJANGO=master

install: pip install tox-travis

# command to run tests using coverage, e.g. python setup.py test
script: tox

before_install:
  - pip install codecov

after_success:
  - tox -e coverage-report
  - codecov

Change order of Travis jobs
Change order of Travis jobs

This ensures that the most recent Python/Django versions (which are
also the longing-running) run first
