setup-php/node_modules/codecov/lib/services/shippable.js
2019-09-20 21:54:46 +05:30

20 lines
514 B
JavaScript

module.exports = {
detect: function() {
return !!process.env.SHIPPABLE
},
configuration: function() {
// http://docs.shippable.com/en/latest/config.html#common-environment-variables
console.log(' Shippable CI Detected')
return {
service: 'shippable',
build: process.env.BUILD_NUMBER,
build_url: process.env.BUILD_URL,
pr: process.env.PULL_REQUEST,
commit: process.env.COMMIT,
branch: process.env.BRANCH,
slug: process.env.REPO_NAME,
}
},
}