Skip to content

Commit

Permalink
connect travis ci and coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Symmetronic committed Aug 27, 2020
1 parent 8edf869 commit 2667b81
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sudo: false
language: node_js
node_js: lts/*
install: npm install
script: npm test
script:
- npm run lint
- npm run test:coveralls
8 changes: 4 additions & 4 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@
"build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src",
"start": "rollup -c rollup.config.ts -w",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache"
"test:coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls",
"test:prod": "npm run lint && npm run test -- --no-cache",
"test:watch": "jest --coverage --watch"
},
"lint-staged": {
"{src,test}/**/*.ts": [
Expand Down Expand Up @@ -86,7 +87,7 @@
"@types/node": "^10.11.0",
"colors": "^1.3.2",
"commitizen": "^3.0.0",
"coveralls": "^3.0.2",
"coveralls": "^3.1.0",
"cross-env": "^5.2.0",
"jest": "^25.1.0",
"jest-config": "^25.1.0",
Expand Down

0 comments on commit 2667b81

Please sign in to comment.