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

Commit

Permalink
Set up travis publishing to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
postatum committed Sep 17, 2019
1 parent 45eaa94 commit 875298d
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .travis.yml
@@ -1,16 +1,25 @@
sudo: false
language: node_js

notifications:
email:
on_success: change
on_failure: change

node_js:
- "8"
- "lts/*"
- "node"

cache:
directories:
- node_modules
- $HOME/.npm
script: npm run test-ci

script: "npm run test-ci"
after_script: npm install coveralls@2 && cat ./coverage/lcov.info | coveralls

after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
deploy:
provider: npm
email: "$NPM_EMAIL"
api_key: "$NPM_TOKEN"
skip_cleanup: true
on:
tags: true
node: "node"

0 comments on commit 875298d

Please sign in to comment.