Skip to content

Commit

Permalink
Travis: adjusted travis to build and publish to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
farahat80 committed Jan 10, 2020
1 parent 38f9aa5 commit 91b49ea
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
language: node_js

node_js:
- 7.10.0

before_install:
- npm install -g npm@4.2.0
- 13.2.0

install:
- npm install

script:
- npm run coverage
- npm run build

after_script: 'cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js'

# Send coverage data to Coveralls
after_script: "cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js"
deploy:
provider: npm
email: '$NPM_EMAIL'
api_key: '$NPM_TOKEN'
skip_cleanup: true
on:
tags: true

0 comments on commit 91b49ea

Please sign in to comment.