Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 05674404a4
Fetching contributors…

Cannot retrieve contributors at this time

executable file 38 lines (24 sloc) 0.803 kb
# This script should be called from within Hudson
cd $WORKSPACE
VENV=$WORKSPACE/venv
echo "Starting build on executor $EXECUTOR_NUMBER..." `date`
if [ -z $1 ]; then
echo "Warning: You should provide a unique name for this job to prevent database collisions."
echo "Usage: ./build.sh <name>"
echo "Continuing, but don't say you weren't warned."
fi
echo "Setup..." `date`
# Make sure there's no old pyc files around.
find . -name '*.pyc' | xargs rm
if [ ! -d "$VENV/bin" ]; then
echo "No virtualenv found. Making one..."
virtualenv $VENV
fi
source $VENV/bin/activate
pip install -q -r requirements.txt
git submodule sync -q
git submodule update --init
export SPIDERMONKEY_INSTALLATION=`which tracemonkey`
echo "Starting tests..." `date`
nosetests --with-xunit
echo 'shazam!'
Jump to Line
Something went wrong with that request. Please try again.