Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
fix: do build in travis and codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
JamilOmar committed Jul 17, 2019
1 parent 9e01acb commit 1685156
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ before_install:
echo "//registry.npmjs.org/:_authToken=\${NPM_INSTALL_TOKEN}" > ~/.npmrc;
fi
- 'git config --global url."git@github.com:".insteadOf "https://github.com/"'

install:
- npm install -g codecov
- npm install
- npm run build
script:
- npm i -g codecov
- npm test
- >-
npm run coverage && cat ./coverage/lcov.info |
Expand Down
2 changes: 2 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
codecov:
token: 2d27f251-9f21-4912-9d9a-6e94d2f6c4c1

0 comments on commit 1685156

Please sign in to comment.