Skip to content

Commit

Permalink
Merge pull request #212 from tusharmakkar08/Adding-coveralls
Browse files Browse the repository at this point in the history
Adding coveralls
  • Loading branch information
tusharmakkar08 committed Sep 23, 2016
2 parents 79d7ed8 + 1cba13e commit a321db5
Show file tree
Hide file tree
Showing 3 changed files with 10 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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Voluptuous is a Python data validation library

[![Build Status](https://travis-ci.org/alecthomas/voluptuous.png)](https://travis-ci.org/alecthomas/voluptuous) [![Stories in Ready](https://badge.waffle.io/alecthomas/voluptuous.png?label=ready&title=Ready)](https://waffle.io/alecthomas/voluptuous)
[![Coverage Status](https://coveralls.io/repos/github/alecthomas/voluptuous/badge.svg?branch=master)](https://coveralls.io/github/alecthomas/voluptuous?branch=master)

Voluptuous, *despite* the name, is a Python data validation library. It
is primarily intended for validating data coming into Python as JSON,
Expand Down

0 comments on commit a321db5

Please sign in to comment.