codecov-lite
Version:
LCOV uploader for codecov.io service
22 lines (19 loc) • 516 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _default = env => {
if (!env.APPVEYOR) {
return null;
}
return {
service: 'appveyor',
commit: env.APPVEYOR_REPO_COMMIT,
branch: env.APPVEYOR_REPO_BRANCH,
pr: env.APPVEYOR_PULL_REQUEST_NUMBER,
job: `${env.APPVEYOR_ACCOUNT_NAME}/${env.APPVEYOR_PROJECT_SLUG}/${env.APPVEYOR_BUILD_VERSION}`,
build: env.APPVEYOR_JOB_ID,
slug: env.APPVEYOR_REPO_NAME
};
};
exports.default = _default;