Skip to content

Commit

Permalink
Travis and Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Versehgi committed Apr 10, 2019
1 parent f94e2c2 commit 69249ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ install:

script:
- npm test

after_script: "cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js"
- npm run coveralls
3 changes: 1 addition & 2 deletions lib/utils/example-store.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createStore } from "../../lib";

interface IStore {
export interface IStore {
total: number;
changed: boolean;
}
Expand All @@ -25,7 +25,6 @@ const setTotalDouble = () => updateState((state: any) => ({
}));

export {
IStore,
state$,
getCurrentState,
setTotal10ChangedTrue,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"build": "tsc",
"test": "jest",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"cover": "istanbul cover node_modules/mocha/bin/_mocha test/*.js - - -R spec"
},
"repository": {
Expand Down

0 comments on commit 69249ea

Please sign in to comment.