Skip to content

Commit

Permalink
refactor: travis added
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhadip committed Sep 11, 2022
1 parent 7d35c60 commit 4611749
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
codecov:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "70...100"

parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no

comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false # if true: only post the comment if coverage changes
require_base: no # [yes :: must have a base report to post]
require_head: no # [yes :: must have a head report to post]
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: node_js
node_js:
- 17
cache:
directories:
- node_modules
script:
- npm run test
after_success:
- bash <(curl -s https://codecov.io/bash)
25 changes: 25 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"@typescript-eslint/parser": "^5.36.1",
"autoprefixer": "^10.4.8",
"babel-jest": "^29.0.2",
"coveralls": "^3.1.1",
"cssnano": "^5.1.13",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.23.0",
Expand Down

0 comments on commit 4611749

Please sign in to comment.