language: python

python:
  - 2.7
  - 3.4
  - 3.5
  - 3.6

env:
  - DJANGOVER=django19
  - DJANGOVER=django110
  - TOX_ENV=docs

install:
  - pip install tox
  - cd example && npm install

script:
  - "if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $DJANGOVER ]]; then export TOX_ENV=py27-$DJANGOVER; fi"
  - "if [[ $TRAVIS_PYTHON_VERSION == '3.4' && $DJANGOVER ]]; then export TOX_ENV=py34-$DJANGOVER; fi"
  - "if [[ $TRAVIS_PYTHON_VERSION == '3.5' && $DJANGOVER ]]; then export TOX_ENV=py35-$DJANGOVER; fi"
  - "if [[ $TRAVIS_PYTHON_VERSION == '3.6' && $DJANGOVER ]]; then export TOX_ENV=py36-$DJANGOVER; fi"
  - tox -r -e "$TOX_ENV"

language: python

python:
  - 2.7
  - 3.4
  - 3.5

env:
  - DJANGOVER=django19
  - DJANGOVER=django110
  - TOX_ENV=docs

install:
  - pip install tox
  - cd example && npm install

script:
  - "if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $DJANGOVER ]]; then export TOX_ENV=py27-$DJANGOVER; fi"
  - "if [[ $TRAVIS_PYTHON_VERSION == '3.4' && $DJANGOVER ]]; then export TOX_ENV=py34-$DJANGOVER; fi"
  - "if [[ $TRAVIS_PYTHON_VERSION == '3.5' && $DJANGOVER ]]; then export TOX_ENV=py35-$DJANGOVER; fi"
  - tox -r -e "$TOX_ENV"

Revert "Add Python3.6 to Travis"
Revert "Add Python3.6 to Travis"

This reverts commit 0be8d8cd3c1b56f7e7722dbd1d83d8e65af01bd6.

# Conflicts:
#	.travis.yml
