forked from greenkeeperio/greenkeeper-lockfile
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tests.js
21 lines (19 loc) · 772 Bytes
/
tests.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
'use strict'
const env = process.env
module.exports = {
buildkite: () => env.BUILDKITE === 'true',
circleci: () => env.CIRCLECI === 'true',
codebuild: () => env.CODEBUILD_BUILD_ID !== undefined,
drone: () => env.DRONE === 'true',
jenkins: () => env.JENKINS_URL !== undefined,
travis: () => env.TRAVIS === 'true',
wercker: () => env.WERCKER === 'true',
codeship: () => env.CI_NAME === 'codeship',
bitrise: () => env.BITRISE_IO === 'true',
semaphoreci: () => env.SEMAPHORE === 'true',
teamcity: () => env.TEAMCITY_VERSION !== undefined,
appveyor: () => env.APPVEYOR === 'True' || env.APPVEYOR === 'true',
gitlab: () => env.GITLAB_CI === 'true',
buddyworks: () => env.BUDDY_EXECUTION_ID !== undefined,
cirrus: () => env.CIRRUS_CI === 'true'
}