-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis: adjusted travis to build and publish to npm
- Loading branch information
Showing
1 changed file
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |