Skip to content

Commit

Permalink
configure coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf committed Jan 18, 2020
1 parent d78dd0f commit 7c280bf
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
language: node_js

node_js:
- '12.13'
script: npm run build

script:
- npm run build
- npm run coveralls

deploy:
skip_cleanup: true
provider: npm
Expand Down
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.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"build": "rollup -c",
"test": "jest",
"lint": "tslint 'src/**/*.ts'",
"prebuild": "rm -rf dist && npm run lint"
"prebuild": "rm -rf dist && npm run lint",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls"
},
"author": "Put.io <devs@put.io>",
"license": "MIT",
Expand All @@ -43,6 +44,7 @@
"@types/jest": "^24.0.25",
"@types/js-cookie": "^2.2.4",
"@types/uuid": "^3.4.6",
"coveralls": "^3.0.9",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"rollup": "^1.29.0",
Expand Down

0 comments on commit 7c280bf

Please sign in to comment.