From ab79b0dd1a0728e5fd1bfeaff4f66b86737aaed1 Mon Sep 17 00:00:00 2001 From: Christine Lytwynec Date: Thu, 2 Jul 2015 10:53:19 -0400 Subject: [PATCH] add coveralls --- scripts/jenkins-report.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/jenkins-report.sh b/scripts/jenkins-report.sh index 42b5d82c26..2319ba776f 100755 --- a/scripts/jenkins-report.sh +++ b/scripts/jenkins-report.sh @@ -1,9 +1,18 @@ #!/usr/bin/env bash + +# This script is used by the edx-platform-unit-coverage jenkins job. + source scripts/jenkins-common.sh # Get the diff coverage and html reports for unit tests paver coverage +# Send the coverage data to coveralls. Setting 'TRAVIS_BRANCH' allows the +# data to be sorted by branch in the coveralls UI. The branch is passed as +# a param to the coverage job on jenkins. +pip install coveralls +COVERALLS_REPO_TOKEN=$1 TRAVIS_BRANCH=$2 coveralls + # Get coverage reports for bok choy # paver bokchoy_coverage