mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-29 23:03:04 +07:00
17 lines
406 B
JavaScript
17 lines
406 B
JavaScript
module.exports = {
|
|
detect: function() {
|
|
return process.env.CI_NAME && process.env.CI_NAME === 'codeship'
|
|
},
|
|
|
|
configuration: function() {
|
|
console.log(' Codeship CI Detected')
|
|
return {
|
|
service: 'codeship',
|
|
build: process.env.CI_BUILD_NUMBER,
|
|
build_url: process.env.CI_BUILD_URL,
|
|
commit: process.env.CI_COMMIT_ID,
|
|
branch: process.env.CI_BRANCH,
|
|
}
|
|
},
|
|
}
|