-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug #326: Cross-browser testing on CI
- Loading branch information
Yoran Brondsema
committed
Mar 2, 2016
1 parent
304002c
commit 19874f8
Showing
15 changed files
with
798 additions
and
677 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env node | ||
|
||
// From https://github.com/testem/testem/blob/master/examples/saucelabs/saucie-connect.js | ||
|
||
var saucie = require('saucie'); | ||
var pidFile = 'sc_client.pid'; | ||
|
||
var opts = { | ||
username: process.env.SAUCE_USERNAME, | ||
accessKey: process.env.SAUCE_ACCESS_KEY, | ||
verbose: true, | ||
logger: console.log, | ||
pidfile: pidFile | ||
}; | ||
|
||
if (process.env.TRAVIS_JOB_NUMBER) { | ||
opts.tunnelIdentifier = process.env.TRAVIS_JOB_NUMBER; | ||
} | ||
|
||
saucie.connect(opts).then(function () { | ||
process.exit(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env node | ||
|
||
// From https://github.com/testem/testem/blob/master/examples/saucelabs/saucie-disconnect.js | ||
|
||
var saucie = require('saucie'); | ||
var pidFile = 'sc_client.pid'; | ||
|
||
saucie.disconnect(pidFile); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.