Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8f462f

Browse files
rajatjain1997norvig
authored andcommitted
Added coverage report generation to Travis (aimacode#1058)
Added: - .coveragerc file to configure report generation Modified: - .travis.yml to start generating reports during build
1 parent 1bd7519 commit e8f462f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.coveragerc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[report]
2+
omit =
3+
tests/*

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ install:
1515
- pip install networkx
1616
- pip install ipywidgets
1717
- pip install Pillow
18+
- pip install pytest-cov
1819
- pip install ipythonblocks
1920

2021
script:
21-
- py.test
22+
- py.test --cov=./
2223
- python -m doctest -v *.py
2324

2425
after_success:

0 commit comments

Comments
 (0)