sudo: false

language: python

python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "pypy"
  - "pypy3"

env:
  - DJANGO="Django<1.8"
  - DJANGO="Django<1.9"
  - DJANGO="Django<1.10"

matrix:
  exclude:
    - env: DJANGO="Django<1.8"
      python: "3.5"
    - env: DJANGO="Django<1.10"
      python: "3.3"
    - env: DJANGO="Django<1.10"
      python: "pypy3"


# Install dependencies.
install:
  - pip install -q $DJANGO
  - pip install -r requirements.txt

# Run tests.
script: python test.py

sudo: false

language: python

python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "pypy"
  - "pypy3"

env:
  - DJANGO="Django<1.8"
  - DJANGO="Django<1.9"
  - DJANGO="Django<1.10"
  - DJANGO="Django<1.11"

matrix:
  exclude:
    - env: DJANGO="Django<1.8"
      python: "3.5"
    - env: DJANGO="Django<1.10"
      python: "3.3"
    - env: DJANGO="Django<1.10"
      python: "pypy3"


# Install dependencies.
install:
  - pip install -q $DJANGO
  - pip install -r requirements.txt

# Run tests.
script: python test.py

Add Django 1.10 to the test matrix.
Add Django 1.10 to the test matrix.
