Skip to content

Instantly share code, notes, and snippets.

@winhamwr
Created June 28, 2010 15:14
Show Gist options
  • Save winhamwr/455967 to your computer and use it in GitHub Desktop.
Save winhamwr/455967 to your computer and use it in GitHub Desktop.
Hudson: Generate coverage data
#!/bin/bash
# http://gist.github.com/455967
####
## Generate coverage data for usage by Hudson and the violations plugin
####
source $WORKSPACE/../../../virtualenvs/$JOB_NAME/bin/activate
cd pstat
coverage xml --omit $WORKSPACE/../../../virtualenvs,/usr/share,$WORKSPACE/pstat/pstat_deploy,$WORKSPACE/pstat/*/migrations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment