Skip to content

Commit

Permalink
Added the coverage configuration from unity.
Browse files Browse the repository at this point in the history
  • Loading branch information
danalex97 committed Aug 9, 2017
1 parent c40d9c9 commit 583f123
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .coveragerc

This file was deleted.

2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install:
script:
- python all_tests.py --coverage
after_success:
- coveralls --rcfile=.coveragerc
- coveralls
deploy:
provider: pypi
user: ocadotechnology
Expand Down
10 changes: 9 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ universal = 1

[coverage:run]
source = players, aimmo-game, aimmo-game-worker, aimmo-game-creator
omit = players/_version.py

[coverage:report]
omit =
players/_version.py
*test-*
*/tests/*
*/python?.?/*
*/site-packages/nose/*
*.egg/*

[pep8]
max-line-length = 160
Expand Down

0 comments on commit 583f123

Please sign in to comment.