Skip to content

Commit

Permalink
Add dependencies to travis install. Track test coverage in travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah Mount committed Nov 2, 2015
1 parent 59a7a93 commit 62a0715
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[run]
branch = True
omit = krun/tests/*

[report]
exclude_lines =
pragma: no cover
def __repr__
raise NotImplementedError
if __name__ == .__main__.:
# ignore abstract methods/properties mocked with pass
pass
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.coverage
examples/*.log
examples/*.json
examples/*.bz2
Expand Down
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ language: python
python:
- "2.7"

script: py.test
install:
- pip install cffi
- pip install pytest-cov

script: py.test --cov-report term --cov=krun krun

0 comments on commit 62a0715

Please sign in to comment.