Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
SanketDG committed Jan 28, 2017
1 parent cf92844 commit ef38152
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: ZZXc7nBT2fQVFHA36oPb9vdbUtTHqwNSd
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ cache:
- $HOME/.pip-cache/
# command to install dependencies
install:
- pip install .
- pip install e .
- pip install -r requirements.txt
- pip install coveralls
# command to run tests
script:
- py.test --cov
py.test
after_success:
- coveralls
coveralls
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ python_functions = test_*
addopts =
--color=yes
--doctest-modules
--cov=gitdl

[coverage:run]
branch = True
data_file = /home/travis/build/SanketDG/gitdl/.coverage
cover_pylib = False
source =
gitdl
Expand Down

0 comments on commit ef38152

Please sign in to comment.