npm / npm-registry-client

http://npm.im/npm-registry-client
ISC License
264 stars 108 forks source link

Report in http header if we're in CI #129

Closed iarna closed 7 years ago

iarna commented 8 years ago

Per a lunch conversation with @ceejbot, this adds an npm-in-ci header to requests that is true or false based on the following environment checks:

CI="true": Travis, CircleCI, Gitlab CI, Snap CI, Codeship, semaphore, drone.io, Buildkite, PlatformIO JENKINS_URL is set: Jenkins bamboo.buildKey is set: Bamboo TDDIUM is set: Solano

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.03%) to 92.162% when pulling 8adacaef07abcb8cfcc7bd0521c0d43b28ab9f0a on ci-header into 0b595c4769f314a12661d537a328cf4e5658a00f on master.