Added coverage report to documentation

This commit is contained in:
Florian Zaruba 2017-04-09 15:26:57 +02:00
parent ed720eb301
commit 57867bc63b
2 changed files with 11 additions and 1 deletions

View file

@ -6,13 +6,21 @@ testALU:
stage: test
script:
- make build
- vsim-10.5c alu_tb_optimized +UVM_TESTNAME=alu_test -do "run -a"
- vsim-10.5c alu_tb_optimized -c +UVM_TESTNAME=alu_test -coverage -do "coverage save -onexit alu.ucdb; run -a; exit"
- vcover report -html alu.ucdb
artifacts:
paths:
- covhtmlreport
pages:
stage: deploy
dependencies:
- testALU
script:
- mkdocs build
- lftp -e "mirror -R site . ; quit;" -u $FTP_USER,$FTP_PASSWORD $FTP_HOST
- covhtmlreport/ site/
artifacts:
paths:
- site

View file

@ -6,5 +6,7 @@ pages:
- Ideas: 'ideas.md'
- Test Bench: 'tb.md'
- Synthesis Results: 'synthesis.md'
- Coverage Report: 'covhtmlreport'
# cosmo, readthedocs, journal, slate, material, readable, spacelab, united, bootstrap, simplex, flatly, yeti, amelia, cerulean, cyborg, mkdocs
theme: 'flatly'