Created
June 11, 2010 22:02
-
-
Save winhamwr/435108 to your computer and use it in GitHub Desktop.
Hudson: Run unittests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# http://gist.github.com/435108 | |
source $WORKSPACE/../../../virtualenvs/$JOB_NAME/bin/activate | |
./scripts/clean.sh; | |
echo "CREATE DATABASE IF NOT EXISTS $JOB_NAME DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;" | mysql -u root; | |
echo "DROP DATABASE IF EXISTS test_$JOB_NAME;" | mysql -u root; | |
rm --force #WORKSPACE/pstat/nosetests.xml; | |
python scripts/run_tests.py --coverage --django-sqlite; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment