Skip to content

Commit

Permalink
feat(infrastructure): collect test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nogizhopaboroda committed Sep 4, 2018
1 parent a6a8ab5 commit 02da337
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.cache
dist/
coverage/
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ language: node_js
node_js:
- stable
script:
- npm run test
- npm run test -- --coverage
- npm run test:platform
- npm run benchmark

before_install:
- pip install --user codecov
after_success:
- codecov --file coverage/lcov.info --disable search
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"test": "test"
},
"scripts": {
"test": "jest",
"test": "jest --color",
"test:watch": "npm run test -- --watch --no-cache",
"test:platform": "jest -c jest.platform-polyfill.config.js",
"test:platform": "npm run test -- -c jest.platform-polyfill.config.js",
"build": "rollup -c",
"build:watch": "npm run build -- --watch",
"benchmark": "jest -c jest.benchmark.config.js --verbose",
"benchmark": "npm run test -- -c jest.benchmark.config.js --verbose",
"benchmark:watch": "npm run benchmark -- --watch",
"benchmark:browser": "parcel benchmark/browser_runner.html",
"sandbox": "parcel",
Expand Down

0 comments on commit 02da337

Please sign in to comment.