travis, will you like this?
This commit is contained in:
parent
2f26086c5d
commit
23c5cd83b9
@ -9,7 +9,8 @@ env:
|
|||||||
global:
|
global:
|
||||||
- secure: zGX8AFKQnuh6WWLJw58WnRZiVQ4dIbN0gIQ0NpJIKmzQw2yQ+rqQEo2UoT5p\n+SSX/DJnU0yZzZ2RkiN8sabyY3e3Y2JhjO5GUTdoUxxB7ffCDLM4W1T8ckyl\nmSUW/ajrxMbGxruYbKQfepCRK6w4OoUsROYI0MpeoDo8ngxmcFw="
|
- secure: zGX8AFKQnuh6WWLJw58WnRZiVQ4dIbN0gIQ0NpJIKmzQw2yQ+rqQEo2UoT5p\n+SSX/DJnU0yZzZ2RkiN8sabyY3e3Y2JhjO5GUTdoUxxB7ffCDLM4W1T8ckyl\nmSUW/ajrxMbGxruYbKQfepCRK6w4OoUsROYI0MpeoDo8ngxmcFw="
|
||||||
- SAUCE_USER: pita
|
- SAUCE_USER: pita
|
||||||
|
jdk:
|
||||||
|
- oraclejdk6
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
- petermartischka@googlemail.com
|
- petermartischka@googlemail.com
|
@ -4,8 +4,9 @@ curl http://saucelabs.com/downloads/Sauce-Connect-latest.zip > /tmp/sauce.zip
|
|||||||
unzip /tmp/sauce.zip -d /tmp
|
unzip /tmp/sauce.zip -d /tmp
|
||||||
|
|
||||||
#start the sauce connector in background and make sure it doesn't output the secret key
|
#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
|
(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
|
#save the sauce pid in a file and give it a bit of time to connect
|
||||||
echo $! > /tmp/sauce.pid
|
echo $! > /tmp/sauce.pid
|
||||||
wait 30
|
wait 30
|
||||||
|
kill $!
|
Loading…
x
Reference in New Issue
Block a user