language: python
python:
  - "3.6"
  - "3.5"
  - "pypy3"
  - "2.7"
  - "pypy"
sudo: false
env:
  - DJANGO_VERSION=1.8
  - DJANGO_VERSION=1.11
  - DJANGO_VERSION=2.0
  - DJANGO_VERSION=2.1
before_install:
  - pip install -q django==$DJANGO_VERSION
install:
  - python setup.py develop
script:
  - python setup.py test
after_success:
  - codecov -e DJANGO_VERSION
matrix:
  exclude:
    - python: "3.6"
      env: DJANGO_VERSION=1.8
    - python: "pypy"
      env: DJANGO_VERSION=2.0
    - python: "2.7"
      env: DJANGO_VERSION=2.0
    - python: "pypy"
      env: DJANGO_VERSION=2.1
    - python: "2.7"
      env: DJANGO_VERSION=2.1

language: python
python:
  - "3.6"
  - "3.5"
  - "pypy3"
  - "2.7"
  - "pypy"
sudo: false
env:
  - DJANGO_VERSION=1.8
  - DJANGO_VERSION=1.11
  - DJANGO_VERSION=2.0
  - DJANGO_VERSION=2.1
before_install:
  - pip install httpretty codecov
  - pip install -q django==$DJANGO_VERSION
install:
  - python setup.py develop
script:
  - python setup.py test
after_success:
  - codecov -e DJANGO_VERSION
matrix:
  exclude:
    - python: "3.6"
      env: DJANGO_VERSION=1.8
    - python: "pypy"
      env: DJANGO_VERSION=2.0
    - python: "2.7"
      env: DJANGO_VERSION=2.0
    - python: "pypy"
      env: DJANGO_VERSION=2.1
    - python: "2.7"
      env: DJANGO_VERSION=2.1

Install test dependencies in Travis. setup.py tests_require is not used.
Install test dependencies in Travis. setup.py tests_require is not used.
