Skip to content

Commit

Permalink
Merge pull request #5 from smakosh/fix/update-travis-CI
Browse files Browse the repository at this point in the history
fix: update Travis CI
  • Loading branch information
smakosh authored Oct 3, 2020
2 parents d1fe109 + caeb562 commit 8ed0f0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@ language: node_js
node_js:
- 12

install:
- yarn

cache:
directories:
- ~/.npm
notifications:
email: false

before_install:
- npm i && npm i codecov.io coveralls
- yarn && yarn add codecov.io coveralls

after_success:
- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- npm run build
- npm run travis-deploy-once "npm run semantic-release"
- yarn run build
- yarn run travis-deploy-once "yarn run semantic-release"

branches:
only:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release"
},
"peerDependencies": {
Expand Down

0 comments on commit 8ed0f0a

Please sign in to comment.