Stop doing tests on pull requests because they're always going to fail
This commit is contained in:
parent
52d5821be0
commit
a8ba798203
@ -1,6 +1,11 @@
|
|||||||
/* global process */
|
/* global process */
|
||||||
var WebDriver = require("selenium-webdriver");
|
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;
|
var driver;
|
||||||
if (process.env.SAUCE_USERNAME !== undefined) {
|
if (process.env.SAUCE_USERNAME !== undefined) {
|
||||||
var browserArray = process.env.BROWSER.split(':');
|
var browserArray = process.env.BROWSER.split(':');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user