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 Electron to run browser tests with Travis #605

Merged
merged 6 commits into from Feb 14, 2016
Next

Tests ensure Travis environment for browser tests

  • Loading branch information
josephfrazier committed Feb 9, 2016
commit 38824d693765ed00bd02d05b35a10659fb636883
@@ -2,8 +2,8 @@

var spawn = require('cross-spawn-async')

var runBrowserTests = !process.env.TRAVIS_PULL_REQUEST ||
process.env.TRAVIS_PULL_REQUEST === 'false'
var runBrowserTests = process.env.TRAVIS && (!process.env.TRAVIS_PULL_REQUEST ||
process.env.TRAVIS_PULL_REQUEST === 'false')

var node = spawn('npm', ['run', 'test-node'], { stdio: 'inherit' })
node.on('close', function (code) {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.