mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Use TRAVIS_SECURE_ENV_VARS instead of TRAVIS_PULL_REQUEST.
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
/** Environment shortcut */
|
||||
var env = process.env;
|
||||
|
||||
if (isFinite(env.TRAVIS_PULL_REQUEST)) {
|
||||
console.log('Skipping Sauce Labs jobs for pull requests');
|
||||
if (env.TRAVIS_SECURE_ENV_VARS == 'false') {
|
||||
console.log('Skipping Sauce Labs jobs; secure environment variables are unavailable');
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user