Skip to content

Commit

Permalink
Integrate coveralls
Browse files Browse the repository at this point in the history
Add coveralls to the automatic test setup.
  • Loading branch information
jlusiardi committed Feb 15, 2020
1 parent db6050e commit f204c57
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
17 changes: 17 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[run]
omit =
*/.local/*
*/venv/*
*/virtualenv/*
/usr/*
staging/*
tests/*

[report]
omit =
*/.local/*
*/venv/*
*/virtualenv/*
/usr/*
staging/*
tests/*
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ before_install:

script:
- flake8 tlv8
- coverage3 run --branch -m unittest -v
- coverage run -m unittest

after_success:
- coveralls
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Type-Length-Value8 (TLV8) for python [![Build Status](https://travis-ci.org/jlusiardi/tlv8_python.svg?branch=master)](https://travis-ci.org/jlusiardi/tlv8_python)
# Type-Length-Value8 (TLV8) for python [![Build Status](https://travis-ci.org/jlusiardi/tlv8_python.svg?branch=master)](https://travis-ci.org/jlusiardi/tlv8_python) [![Coverage Status](https://coveralls.io/repos/github/jlusiardi/tlv8_python/badge.svg?branch=master)](https://coveralls.io/github/jlusiardi/tlv8_python?branch=master)

Type-Length-Value (TLV) are used to encode arbitrary data. In this case the type and length are represented by 1 byte each. Hence the name TLV8.

Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
coverage
pytest
flake8
twine

coveralls

0 comments on commit f204c57

Please sign in to comment.