language: python
cache: pip
dist: trusty
sudo: required

matrix:
  include: 
  - env: TOXENV=py34-dj111-wt2
    python: 3.4
  - env: TOXENV=py34-dj2-wt2
    python: 3.4
  - env: TOXENV=py35-dj2-wt2
    python: 3.5
  - env: TOXENV=py36-dj2-wt2
    python: 3.6
  - env: TOXENV=py36-dj2-wt21
    python: 3.6

install:
- pip install tox codecov

script:
- tox

after_success: 
- codecov

language: python
cache: pip
dist: trusty
sudo: required

matrix:
  include: 
  - env: TOXENV=py34-dj111-wt2
    python: 3.4
  - env: TOXENV=py34-dj2-wt2
    python: 3.4
  - env: TOXENV=py35-dj2-wt2
    python: 3.5
  - env: TOXENV=py36-dj2-wt2
    python: 3.6
  - env: TOXENV=py36-dj2-wt21
    python: 3.6

allow_failures:
  # Ignore failures for Wagtail 2.1 until #4612 is fixed 
  - env: TOXENV=py36-dj2-wt21

install:
- pip install tox codecov

script:
- tox

after_success: 
- codecov

Allow wagtail 2.1 tests to fail
Allow wagtail 2.1 tests to fail
