kilianc / kilianc/shared-git-hooks

Travis build fails

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
55
Forks
13
PR merge metrics
No merged PRs in 30d

Description

> The command "npm run test:coverage" exited with 0.
> $(npm bin)/codeclimate-test-reporter < coverage/lcov.info
> No CODECLIMATE_REPO_TOKEN found. A CODECLIMATE_REPO_TOKEN must be specified as an environment variable.

> The command "$(npm bin)/codeclimate-test-reporter < coverage/lcov.info" exited with 1.

> Done. Your build exited with 1.

It is probably due to usage of codeclimate-test-reporter ([1]).

[1] https://github.com/codeclimate/javascript-test-reporter

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Travis command sequence, especially npm run test:coverage followed by $(npm bin)/codeclimate-test-reporter < coverage/lcov.info. Check how CODECLIMATE_REPO_TOKEN is expected to be supplied and confirm the Travis build completes successfully with the coverage report step.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ci-cd
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.