Skip to content

Commit

Permalink
add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamilton Kibbe committed Sep 30, 2014
1 parent 9a98c2d commit ae4047b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
@@ -0,0 +1,4 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
11 changes: 9 additions & 2 deletions .travis.yml
Expand Up @@ -3,7 +3,14 @@ python:
- "2.7"

# command to install dependencies
install: "pip install -r requirements.txt"
install:
- "pip install -r requirements.txt"
- "pip install coveralls"

# command to run tests
script: "make test"
script:
- make test-coverage

# Coveralls
after-success:
- coveralls
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -14,7 +14,7 @@ test:

test-coverage:
rm -rf coverage .coverage
$(NOSETESTS) -s -v --with-coverage gerber
$(NOSETESTS) -s -v --with-coverage --cover-package=gerber

doc-html:
(cd $(DOC_ROOT); make html)
Expand Down

0 comments on commit ae4047b

Please sign in to comment.