Skip to content

Instantly share code, notes, and snippets.

@cmheisel
Created November 21, 2009 21:53
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 cmheisel/240296 to your computer and use it in GitHub Desktop.
Save cmheisel/240296 to your computer and use it in GitHub Desktop.
Hudson built script for Django projects
cd $WORKSPACE
virtualenv -q ve
source ./ve/bin/activate
pip install -q -E ./ve -r requirements.pip
pip install -q -E ./ve -r requirements-test.pip
python setup.py --quiet develop
django-admin.py test --settings=yourapp.settings.test --with-coverage --cover-package=yourapp --with-xunit --with-xcoverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment