language: python

python:
    - '2.7'
    - '3.5'
    - '3.6'

# whitelist
branches:
    only:
        - master

script:
    - py.test --pep8
    - coverage run -m py.test
    - coverage report --include test_*.py

after_success:
  - codecov

language: python

python:
    - '2.7'
    - '3.5'
    - '3.6'

# whitelist
branches:
    only:
        - master

script:
    - py.test --pep8
    - coverage run -m py.test
    - coverage report --omit test_*.py

after_success:
  - codecov

Use coverage report with omit option
Use coverage report with omit option
