language: python
python:
  - 2.7
  - 3.4
  - 3.5
install: pip install tox-travis
script: tox
matrix:
  allow_failures:
    - python: 2.7

language: python

python:
  - 2.7
  - 3.4
  - 3.5
  
install: pip install tox-travis codecov

script: tox

after_success:
  - codecov

matrix:
  allow_failures:
    - python: 2.7

Add code coverage with Codecov in Travis
Add code coverage with Codecov in Travis