mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(ci): ensure browserstack binaries are latest (#1724)
This commit is contained in:
committed by
Jeremy Elbourn
parent
f0b9a7758f
commit
bec15195b9
+1
-1
@@ -48,7 +48,7 @@
|
||||
"@types/minimist": "^1.1.28",
|
||||
"@types/node": "^6.0.34",
|
||||
"@types/run-sequence": "0.0.27",
|
||||
"browserstacktunnel-wrapper": "^1.4.2",
|
||||
"browserstacktunnel-wrapper": "^2.0.0",
|
||||
"conventional-changelog": "^1.1.0",
|
||||
"express": "^4.14.0",
|
||||
"firebase-tools": "^2.2.1",
|
||||
|
||||
@@ -34,7 +34,12 @@ var tunnel = new BrowserStackTunnel({
|
||||
});
|
||||
|
||||
console.log('Starting tunnel on ports', PORTS.join(', '));
|
||||
tunnel.start(function(error) {
|
||||
|
||||
// Emit a `newer_available` event to force an update of the Browserstack binaries (necessary due to Travis caching)
|
||||
// This also starts a new tunnel after the latest binaries are available.
|
||||
tunnel.emit('newer_available');
|
||||
|
||||
tunnel.once('started', function(error) {
|
||||
if (error) {
|
||||
console.error('Can not establish the tunnel', error);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user