Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use .zuulrc credentials for Sauce Labs tests #619

Merged
merged 6 commits into from Feb 19, 2016

Always run Electron tests during `npm test`

  • Loading branch information
josephfrazier committed Feb 15, 2016
commit 973dbe539b86316678f30accfb07b3676f7d5939
@@ -13,9 +13,14 @@ var runSauceLabs = hasSauceLabEnvVars || pathExists.sync(zuulrcPath)

npmRun('test-node', function (code) {
if (code === 0) {
var scriptName = runSauceLabs ? 'test-browser' : 'test-browser-headless'
npmRun(scriptName, function (code) {
process.exit(code)
npmRun('test-browser-headless', function (code) {
if (code === 0 && runSauceLabs) {
npmRun('test-browser', function (code) {
process.exit(code)
})
} else {
process.exit(code)
}
})
} else {
process.exit(code)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.