Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
3f42469b
Commit
3f42469b
authored
Jul 05, 2017
by
Lorenz Huedepohl
Browse files
Publish coverage data to gitlab pages
parent
530c08f0
Changes
2
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3f42469b
stages
:
-
test
-
coverage
-
deploy
before_script
:
before_script
:
-
module purge
-
module purge
-
export LANG=C
-
export LANG=C
...
@@ -3725,17 +3730,6 @@ test_project_2stage:
...
@@ -3725,17 +3730,6 @@ test_project_2stage:
-
popd
-
popd
# print coverage results
total_coverage
:
stage
:
deploy
tags
:
-
coverage
script
:
-
./ci_coverage_summary
artifacts
:
paths
:
-
coverage_summary
test_project_intel
:
test_project_intel
:
tags
:
tags
:
-
buildtest
-
buildtest
...
@@ -3816,3 +3810,28 @@ test_project_2stage_intel:
...
@@ -3816,3 +3810,28 @@ test_project_2stage_intel:
# - /home/elpa/bin/reserve_timeslot_2 make check TEST_FLAGS='150 50 32' || { cat test-suite.log; exit 1; }
# - /home/elpa/bin/reserve_timeslot_2 make check TEST_FLAGS='150 50 32' || { cat test-suite.log; exit 1; }
# - cat test-suite.log
# - cat test-suite.log
# - grep -i "Expected %stop" test-suite.log && exit 1 || true ;
# - grep -i "Expected %stop" test-suite.log && exit 1 || true ;
# print coverage results
total_coverage
:
stage
:
coverage
tags
:
-
coverage
script
:
-
echo "Generating coverage report"
-
./ci_coverage_summary
artifacts
:
paths
:
-
public
pages
:
stage
:
deploy
tags
:
-
coverage
script
:
-
echo "Publishing pages"
artifacts
:
paths
:
-
public
only
:
-
master
ci_coverage_summary
View file @
3f42469b
...
@@ -20,5 +20,5 @@ lcov --summary coverage_data/coverage_${CI_BUILD_REF}.info 2>&1 | \
...
@@ -20,5 +20,5 @@ lcov --summary coverage_data/coverage_${CI_BUILD_REF}.info 2>&1 | \
}'
|
\
}'
|
\
sed
's/^/__COVERAGE__:/; s/, $//;'
sed
's/^/__COVERAGE__:/; s/, $//;'
mkdir
coverage_summary
mkdir
-p
public/
coverage_summary
genhtml coverage_data/coverage_
${
CI_BUILD_REF
}
.info
-o
coverage_summary
genhtml coverage_data/coverage_
${
CI_BUILD_REF
}
.info
-o
public/
coverage_summary
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment