Skip to content

Instantly share code, notes, and snippets.

@winhamwr
Created June 28, 2010 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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