Skip to content

Commit 09ec351

Browse files
theotherjimmyadbridge
authored andcommitted
Start collecting coverage data in travis
1 parent 8b606bf commit 09ec351

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.travis.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@ script:
1919
- |
2020
find -name "*.s" | tee BUILD/badasm | sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ]
2121
- make -C events/equeue test clean
22-
- PYTHONPATH=. python tools/test/config_test/config_test.py
23-
- PYTHONPATH=. python tools/test/build_api/build_api_test.py
24-
- PYTHONPATH=. python tools/test/targets/target_test.py
25-
- python tools/test/pylint.py
26-
- py.test tools/test/toolchains/api.py
27-
- python tools/test/memap/memap_test.py
28-
- python tools/project.py -S
29-
- python tools/build_travis.py
22+
- PYTHONPATH=. coverage run tools/test/config_test/config_test.py
23+
- PYTHONPATH=. coverage run tools/test/build_api/build_api_test.py
24+
- PYTHONPATH=. coverage run tools/test/targets/target_test.py
25+
- coverage run tools/test/pylint.py
26+
- coverage run -m pytest tools/test/toolchains/api.py
27+
- coverage run tools/test/memap/memap_test.py
28+
- coverage run tools/project.py -S
29+
- coverage run tools/build_travis.py
30+
- coverage html
3031
before_install:
3132
- sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
3233
- sudo add-apt-repository -y ppa:libreoffice/libreoffice-4-2
@@ -42,3 +43,4 @@ install:
4243
- pip install pylint
4344
- pip install hypothesis
4445
- pip install mock
46+
- pip install coverage

0 commit comments

Comments
 (0)