Created
January 24, 2013 10:14
-
-
Save michaelneale/4619567 to your computer and use it in GitHub Desktop.
This file contains 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
export DISPLAY=:1 | |
Xvfb :1 & | |
node_version=v0.8.14 | |
install_name=node-$node_version-linux-x64 | |
node_home=$PWD/$install_name | |
if [ ! -e $install_name.tar.gz ] | |
then | |
wget http://nodejs.org/dist/$node_version/$install_name.tar.gz | |
tar xf $install_name.tar.gz | |
$node_home/bin/npm install -g testacular | |
fi | |
export PATH=$PATH:$node_home/bin | |
scripts/test.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This lets you run angular.js tests in Jenkins - remember to have singleRun:true; in the conf.