Skip to content

Commit

Permalink
Added pytest coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Stolker committed Apr 15, 2020
1 parent 4e01ff1 commit 3821f8d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.pyc
.DS_Store
.coverage
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ python:
install:
- pip install -e .
- pip install --upgrade -r requirements.txt
- pip install pytest-cov
- pip install coveralls

script:
- pytest
- pytest --cov=diskmap

after_success:
- coveralls
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ clean:
rm -rf build/
rm -rf dist/
rm -rf diskmap.egg-info/
rm -f .coverage

0 comments on commit 3821f8d

Please sign in to comment.