Merge branch 'feature/frontend-tests' of git://github.com/Pita/etherpad-lite into feature/frontend-tests

This commit is contained in:
John McLear 2012-10-28 18:02:11 +00:00
commit 54f6ac451a
2 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,11 @@
#!/bin/bash
#download and unzip the sauce connector
curl http://saucelabs.com/downloads/Sauce-Connect-latest.zip > /tmp/sauce.zip
unzip /tmp/sauce.zip -d /tmp
#start the sauce connector in background and make sure it doesn't output the secret key
java -jar /tmp/Sauce-Connect.jar $SAUCE_USER $SAUCE_KEY & | grep -v $SAUCE_KEY
#save the sauce pid in a file and give it a bit of time to connect
echo $! > /tmp/sauce.pid
wait 30