language: "python"
sudo: false
cache:
  directories:
    - $HOME/.cache/pip

branches:
  only:
    - master

env:
  - TOXENV=py27-twlatest
  - TOXENV=py27-twtrunk
  - TOXENV=py27-tw14
  # Test inplace on one variant
  - TOXENV=py27-twlatest DEVELOP=--develop

install:
  - pip install -U pip setuptools wheel
  - pip install tox codecov

script:
  - tox ${DEVELOP}

after_success:
  - mv .tox/.coverage . && codecov

notifications:
  email: false
  irc:
     channels: "chat.freenode.net#divmod"
     template:
       - "%{repository}@%{branch} - %{author}: %{message} (%{build_url})"
     use_notice: true

language: "python"
sudo: false
cache:
  directories:
    - $HOME/.cache/pip

branches:
  only:
    - master

env:
  - TOXENV=py27-twlatest
  - TOXENV=py27-twtrunk
  - TOXENV=py27-tw14
  # Test inplace on one variant
  - TOXENV=py27-twlatest DEVELOP=--develop

matrix:
  allow_failures:
    - env: TOXENV=py27-twtrunk

install:
  - pip install -U pip setuptools wheel
  - pip install tox codecov

script:
  - tox ${DEVELOP}

after_success:
  - mv .tox/.coverage . && codecov

notifications:
  email: false
  irc:
     channels: "chat.freenode.net#divmod"
     template:
       - "%{repository}@%{branch} - %{author}: %{message} (%{build_url})"
     use_notice: true

Allow Twisted trunk to fail since it isn't necessarily our fault.
Allow Twisted trunk to fail since it isn't necessarily our fault.
