sudo: false

language: python

python:
  - 3.4
  - 3.5

env:
  matrix:
    - DJANGO=1.8
    - DJANGO=1.9

matrix:
  include:
    - python: 3.4
      env: DJANGO=1.8  COVERAGE=true  COVERALLS_REPO_TOKEN=OJpoo9DILUiLNUl6tXRcktDAQslPpaNLO
  allow_failures:
    - env: COVERAGE=true

install:
  - pip install --quiet "Django>="$DJANGO",<"$DJANGO".99" flake8
  - make install

script:
  - make flake8
  - make test

after_script:
  - if [ "$COVERAGE" == "true" ]; then
    pip install --quiet python-coveralls;
    make coverage;
    coverage report;
    coveralls --ignore-errors;
    fi

sudo: false

language: python

python:
  - 3.4
  - 3.5

env:
  matrix:
    - DJANGO=1.8
    - DJANGO=1.9

matrix:
  include:
    - python: 3.5
      env: DJANGO=1.9  COVERAGE=true  COVERALLS_REPO_TOKEN=OJpoo9DILUiLNUl6tXRcktDAQslPpaNLO
  allow_failures:
    - env: COVERAGE=true

install:
  - pip install --quiet "Django>="$DJANGO",<"$DJANGO".99" flake8
  - make install

script:
  - make flake8
  - make test

after_script:
  - if [ "$COVERAGE" == "true" ]; then
    pip install --quiet python-coveralls;
    make coverage;
    coverage report;
    coveralls --ignore-errors;
    fi

Change Django version for coverage.
Change Django version for coverage.
