test
This commit is contained in:
parent
ac45ac1b6c
commit
da6d838193
2 changed files with 22 additions and 0 deletions
3
.coveragerc
Normal file
3
.coveragerc
Normal file
|
@ -0,0 +1,3 @@
|
|||
[report]
|
||||
exclude_lines =
|
||||
if __name__ == '__main__':
|
19
.travis.yml
Normal file
19
.travis.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
language: python
|
||||
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.3"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
|
||||
install:
|
||||
- pip install commonmark coverage coveralls
|
||||
|
||||
script:
|
||||
- python -m unittest discover -bv
|
||||
- coverage run --branch --source=. -m unittest discover -bv
|
||||
- coverage report -m
|
||||
|
||||
after_success:
|
||||
- coveralls
|
Loading…
Add table
Reference in a new issue