Merge pull request #8762 from edx/clytwynec/TE-965

Clytwynec/te 965
This commit is contained in:
Christine Lytwynec
2015-07-06 13:07:18 -04:00

View File

@@ -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