Merge pull request #3563 from serverless/updateCIDetection

Update CI detection
This commit is contained in:
Philipp Muens 2017-05-08 09:56:42 +02:00 committed by GitHub
commit f0cc5446a6
3 changed files with 2877 additions and 5 deletions

View File

@ -3,6 +3,7 @@
const fs = require('fs');
const path = require('path');
const YAML = require('js-yaml');
const ci = require('ci-info');
const BbPromise = require('bluebird');
const fse = BbPromise.promisifyAll(require('fs-extra'));
const _ = require('lodash');
@ -339,7 +340,8 @@ class Utils {
serverlessVersion: serverless.version,
nodeJsVersion: process.version,
isDockerContainer,
isCISystem: !!((process.env.CI || process.env.JENKINS_URL) || false),
isCISystem: ci.isCI,
ciSystem: ci.name,
},
},
};

2877
npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff

View File

@ -87,6 +87,7 @@
"aws-sdk": "^2.7.13",
"bluebird": "^3.4.0",
"chalk": "^1.1.1",
"ci-info": "^1.0.0",
"download": "^5.0.2",
"filesize": "^3.3.0",
"fs-extra": "^0.26.7",