ci: clean up CI logging, folding, add build time logging, and improve error handling (#14425)

This commit is contained in:
Igor Minar
2017-03-02 00:22:24 -08:00
committed by GitHub
parent 207298cd3a
commit a24e652f2b
24 changed files with 636 additions and 431 deletions

View File

@ -56,3 +56,13 @@ tunnel.start(function(error) {
tunnel.on('error', function(error) {
console.error(error);
});
// TODO(i): we should properly stop the tunnel when tests are done.
// tunnel.stop(function(error) {
// if (error) {
// console.log(error);
// } else {
// console.log('browserStack tunnel has stopped');
// }
//});

View File

@ -1,3 +1,7 @@
#!/bin/bash
set +x +v -u -e -o pipefail
export BROWSER_STACK_ACCESS_KEY=`echo $BROWSER_STACK_ACCESS_KEY | rev`
node ./scripts/browserstack/start_tunnel.js &

View File

@ -1,8 +1,7 @@
#!/bin/bash
set -e -o pipefail
set -u -e -o pipefail
echo "Shutting down Browserstack tunnel"
echo "TODO: implement me"
exit 1
echo "TODO: implement me, see start_tunnel.js for info on how to stop the tunnel"