Stop doing tests on pull requests because they're always going to fail

pull/1/head
Caleb James DeLisle 8 years ago
parent 52d5821be0
commit a8ba798203

@ -1,6 +1,11 @@
/* global process */
var WebDriver = require("selenium-webdriver");
if (process.env.TRAVIS_PULL_REQUEST && process.env.TRAVIS_PULL_REQUEST !== 'false') {
// We can't do saucelabs on pull requests so don't fail.
return;
}
var driver;
if (process.env.SAUCE_USERNAME !== undefined) {
var browserArray = process.env.BROWSER.split(':');

Loading…
Cancel
Save