mirror of https://github.com/xwiki-labs/cryptpad
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 */
|
||||
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…
Reference in New Issue