Travis: Setup cron coverage

This commit is contained in:
Wilson Snyder 2020-05-16 14:59:30 -04:00
parent 0b55e205f7
commit 7d0b3b300a
2 changed files with 12 additions and 0 deletions

View File

@ -49,6 +49,7 @@ jobs:
# 16.04 dist: xenial cron cron
# 18.04 dist: bionic cron
# 20.04 dist: focal !cron cron
# 20.04 coverage cron
include:
- if: type != cron
stage: "Build Verilator"
@ -112,6 +113,13 @@ jobs:
stage: "Build Verilator"
name: "20.04 clang build+test"
script: ci/test.sh all
# Cron coverage runs
- if: type = cron
dist: focal
compiler: gcc
stage: "Build Verilator"
name: "Coverage"
script: ci/test.sh coverage
notifications:
email:

View File

@ -12,6 +12,10 @@ set -e
export DRIVER_FLAGS='-j 0 --quiet --rerun'
case $1 in
coverage)
nodist/code_coverage
bash <(curl -s https://codecov.io/bash) -f nodist/obj_dir/coverage/app_total.info
;;
dist)
make -C test_regress SCENARIOS=--dist
;;