Skip to content

Commit

Permalink
[coverage] Upload to codecov.
Browse files Browse the repository at this point in the history
  • Loading branch information
bilke committed Jan 31, 2019
1 parent 96a52eb commit 2a27bad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,10 @@ pipeline {
}
post {
always {
dir('build') {
sh "curl -s https://codecov.io/bash | bash -s - -f *_cobertura.xml"
}
xunit([GoogleTest(pattern: 'build/Tests/testrunner.xml')])
cobertura coberturaReportFile: 'build/*_cobertura.xml'
}
}
}
Expand Down
8 changes: 8 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
codecov:
token: 2371d4ae-34d6-4a75-a212-0ecd2ffa2629

ignore:
- "Applications/CLI"
- "ProcessLib"
- "ThirdParty"
- "*Tests/**/*"

0 comments on commit 2a27bad

Please sign in to comment.