- using ping to detect when ES is ready rather than sleep
- reusing es downloads to make local testing faster - periodic checks will kill the script on failure - coveralls report is only sent once per build - failures sending the coveralls report won't cause the build to fail
This commit is contained in:
@ -71,7 +71,7 @@ async.series([
|
||||
},
|
||||
function (done) {
|
||||
// checkout branch and clean it
|
||||
cp.spawn('git', ['submodule', 'foreach', 'git checkout origin/' + branch + ' && git clean -f'], {
|
||||
cp.spawn('git', ['submodule', 'foreach', 'git fetch origin master && git checkout origin/' + branch + ' && git clean -f'], {
|
||||
stdio: stdio
|
||||
}).on('exit', function (status) {
|
||||
done(status ? new Error('Unable to checkout ' + branch) : void 0);
|
||||
|
||||
Reference in New Issue
Block a user