Unverified Commit b3936370 authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #1997 from hypothesis/move-coverage-to-jenkins

Move coverage reporting from Travis to Jenkins
parents bfa3d057 6adf9035
...@@ -15,5 +15,3 @@ matrix: ...@@ -15,5 +15,3 @@ matrix:
- make lint - make lint
- env: ACTION=test - env: ACTION=test
node_js: '10' node_js: '10'
after_success:
yarn run report-coverage
...@@ -71,7 +71,15 @@ node { ...@@ -71,7 +71,15 @@ node {
stage('Test') { stage('Test') {
nodeEnv.inside("-e HOME=${workspace}") { nodeEnv.inside("-e HOME=${workspace}") {
withCredentials([
string(credentialsId: 'codecov-token', variable: 'CODECOV_TOKEN')
]) {
sh "make checkformatting lint test" sh "make checkformatting lint test"
sh """
export CODECOV_TOKEN=${env.CODECOV_TOKEN}
yarn run report-coverage
"""
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment