mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-30 07:13:04 +07:00
18 lines
458 B
JavaScript
18 lines
458 B
JavaScript
|
module.exports = {
|
||
|
detect: function() {
|
||
|
return !!process.env.CIRRUS_CI
|
||
|
},
|
||
|
configuration: function() {
|
||
|
console.log(' Cirrus CI Detected')
|
||
|
return {
|
||
|
service: 'cirrusci',
|
||
|
build: process.env.CIRRUS_BUILD_ID,
|
||
|
job: process.env.CIRRUS_TASK_ID,
|
||
|
commit: process.env.CIRRUS_CHANGE_IN_REPO,
|
||
|
branch: process.env.CIRRUS_BRANCH,
|
||
|
pr: process.env.CIRRUS_PR,
|
||
|
slug: process.env.CIRRUS_REPO_FULL_NAME,
|
||
|
}
|
||
|
},
|
||
|
}
|