language: python

sudo: false

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

matrix:
  include:
  - python: 2.7
    env: TOXENV=py27
  - python: pypy
    env: TOXENV=pypy

install:
  - pip install -U tox codecov

script:
  - tox

after_success:
  - coverage combine
  - codecov
