diff options
author | Hamilton Kibbe <ham@hamiltonkib.be> | 2014-09-30 17:49:04 -0400 |
---|---|---|
committer | Hamilton Kibbe <ham@hamiltonkib.be> | 2014-09-30 17:49:04 -0400 |
commit | ae4047b2600c5ff6be3a1d0ab8e8573f49107c7f (patch) | |
tree | 96b59e87fcb00458e5d8d53d946f965f2809c1d3 | |
parent | 9a98c2df3552211bce4639f19f1b85499b3e714a (diff) | |
download | gerbonara-ae4047b2600c5ff6be3a1d0ab8e8573f49107c7f.tar.gz gerbonara-ae4047b2600c5ff6be3a1d0ab8e8573f49107c7f.tar.bz2 gerbonara-ae4047b2600c5ff6be3a1d0ab8e8573f49107c7f.zip |
add coveralls
-rw-r--r-- | .coveragerc | 4 | ||||
-rw-r--r-- | .travis.yml | 11 | ||||
-rw-r--r-- | Makefile | 2 |
3 files changed, 14 insertions, 3 deletions
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..8b140ff --- /dev/null +++ b/.coveragerc @@ -0,0 +1,4 @@ +[report] +omit = + */python?.?/* + */site-packages/nose/*
\ No newline at end of file diff --git a/.travis.yml b/.travis.yml index a832b12..c652e8d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"
\ No newline at end of file +script: + - make test-coverage + +# Coveralls +after-success: + - coveralls @@ -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) |