language: python
python: 3.5

cache:
  directories:
    - $HOME/.cache/pip

env:
  global:
    - DATABASE_URL="mysql://root:@localhost/test_feder"
    - DJANGO_SETTINGS_MODULE="config.settings.local"
  matrix:
    - TOX_ENV=py27-dj110-core  # required
    - TOX_ENV=py27-dj111-core
    - TOX_ENV=py27-djmaster-core
    - TOX_ENV=py35-dj110-core
    - TOX_ENV=py35-dj111-core
    - TOX_ENV=py35-dj20-core
    - TOX_ENV=py35-djmaster-core
    - TOX_ENV=flake8
    - TOX_ENV=py35-dj111-docs

matrix:
  allow_failures:
    - env: TOX_ENV=py27-djmaster-core
    - env: TOX_ENV=py35-dj110-core
    - env: TOX_ENV=py35-dj111-core
    - env: TOX_ENV=py35-dj20-core
    - env: TOX_ENV=py35-djmaster-core
    - env: TOX_ENV=flake8


install:
  - pip install -U pip wheel
  - pip install tox
script:
  - tox -e $TOX_ENV

language: python
python: 3.5

cache:
  directories:
    - $HOME/.cache/pip

env:
  global:
    - DATABASE_URL="mysql://root:@localhost/test_feder"
    - DJANGO_SETTINGS_MODULE="config.settings.local"
  matrix:
    - TOX_ENV=py27-dj110-core  # required
    - TOX_ENV=py27-dj111-core
    - TOX_ENV=py27-djmaster-core
    - TOX_ENV=py35-dj110-core
    - TOX_ENV=py35-dj111-core
    - TOX_ENV=py35-dj20-core
    - TOX_ENV=py35-djmaster-core
    - TOX_ENV=flake8
    - TOX_ENV=py35-docs

matrix:
  allow_failures:
    - env: TOX_ENV=py27-djmaster-core
    - env: TOX_ENV=py35-dj110-core
    - env: TOX_ENV=py35-dj111-core
    - env: TOX_ENV=py35-dj20-core
    - env: TOX_ENV=py35-djmaster-core
    - env: TOX_ENV=flake8


install:
  - pip install -U pip wheel
  - pip install tox
script:
  - tox -e $TOX_ENV

Fix django specify in Travis for docs
Fix django specify in Travis for docs
