Skip to content

Commit aa5a9ee

Browse files
committed
Added npm publishing to travis config.
1 parent ee98bf9 commit aa5a9ee

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.travis.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ language: node_js
44

55
node_js:
66
- 6.11.5 # Cloud Functions Runtime (Used for firebase-functions)
7-
- 8 # L.T.S
8-
- 9 # Current
7+
- 8
8+
- 9
99

1010
notifications:
1111
# Only send notifications when travis status changes
@@ -24,12 +24,21 @@ cache:
2424
branches:
2525
only:
2626
- master
27-
- v2.0.0
27+
- next
2828

2929
script:
3030
- npm run lint
3131
- npm run test:cov
3232

33+
deploy:
34+
skip_cleanup: true
35+
provider: npm
36+
email: $NPM_EMAIL
37+
api_key: $NPM_TOKEN
38+
on:
39+
node: '9'
40+
branch: 'master'
41+
3342
after_success:
3443
- npm install -g codeclimate-test-reporter
3544
- codeclimate-test-reporter < coverage/lcov.info

0 commit comments

Comments
 (0)