language: python
cache: pip

# Matrix of build options
python:
  - '3.4'
  - '3.5'

env:
  global:
    - DJANGO_SETTINGS_MODULE="tests.settings"
    - TOX_ENV=
  matrix:
    - DJANGO='19' WAGTAIL='16'
    - DJANGO='110' WAGTAIL='16'

before_install:
    # - sudo add-apt-repository ppa:mc3man/trusty-media -y // Inlcudes all multimedia options but 404s currently :(
    - sudo apt-get update -qq
    - sudo apt-get install ffmpeg -y

install:
  - pip install --upgrade pip wheel tox

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

script:
  # Run tox using either a specific environment from TOX_ENV,
  # or building one from the environment variables
  - tox -e "${TOX_ENV:-py${TRAVIS_PYTHON_VERSION/./}-dj${DJANGO}-wt${WAGTAIL}}"

language: python
cache: pip

# Matrix of build options
python:
  - '2.7'
  - '3.4'
  - '3.5'

env:
  global:
    - DJANGO_SETTINGS_MODULE="tests.settings"
    - TOX_ENV=
  matrix:
    - DJANGO='19' WAGTAIL='16'
    - DJANGO='110' WAGTAIL='16'

before_install:
    # - sudo add-apt-repository ppa:mc3man/trusty-media -y // Inlcudes all multimedia options but 404s currently :(
    - sudo apt-get update -qq
    - sudo apt-get install ffmpeg -y

install:
  - pip install --upgrade pip wheel tox

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

script:
  # Run tox using either a specific environment from TOX_ENV,
  # or building one from the environment variables
  - tox -e "${TOX_ENV:-py${TRAVIS_PYTHON_VERSION/./}-dj${DJANGO}-wt${WAGTAIL}}"

Add py2.7 tests to Travis
Add py2.7 tests to Travis
