Implement a test suite, including Travis-CI integration
This commit is contained in:
Dave Jones
2016-02-11 00:32:42 +00:00
parent 29bcada1f9
commit 1f2140a9f5
22 changed files with 1003 additions and 78 deletions

20
coverage.cfg Normal file
View File

@@ -0,0 +1,20 @@
[run]
branch = True
include = gpiozero/*
;omit = */bar.py,*/baz.py
[report]
ignore_errors = True
show_missing = True
exclude_lines =
pragma: no cover
def __repr__
if self\.debug
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
[html]
directory = coverage