Installing dependencies.
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
// https://scrutinizer-ci.com/docs/build/environment-variables
|
||||
|
||||
module.exports = {
|
||||
detect({env}) {
|
||||
return Boolean(env.SCRUTINIZER);
|
||||
},
|
||||
configuration({env}) {
|
||||
const pr = env.SCRUTINIZER_PR_NUMBER;
|
||||
const isPr = Boolean(pr);
|
||||
|
||||
return {
|
||||
name: 'Scrutinizer',
|
||||
service: 'scrutinizer',
|
||||
commit: env.SCRUTINIZER_SHA1,
|
||||
build: env.SCRUTINIZER_INSPECTION_UUID,
|
||||
branch: env.SCRUTINIZER_BRANCH,
|
||||
pr,
|
||||
isPr,
|
||||
prBranch: env.SCRUTINIZER_PR_SOURCE_BRANCH,
|
||||
};
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user