Skip to content

Commit

Permalink
Making changes in travis.yml and coveragerc for coveralls and Python3…
Browse files Browse the repository at this point in the history
….2 coverage issue fix
  • Loading branch information
tusharmakkar08 committed Sep 23, 2016
1 parent aaa6bd2 commit 1cba13e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
omit = *tests*
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ python:
- "3.5"
- "pypy"
# command to install dependencies
#install: "pip install -r requirements.txt --use-mirrors"
install:
- pip install coveralls
# Need to do this since coverage is broken in travis https://github.com/travis-ci/travis-ci/issues/4866
- pip install 'coverage<4'
# command to run tests
script: nosetests
script: nosetests --with-coverage --cover-package=voluptuous
after_success:
- coveralls

0 comments on commit 1cba13e

Please sign in to comment.