Skip to content

Commit b4755f9

Browse files
committed
Deploy to npm via travis
1 parent 34d893c commit b4755f9

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.travis.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
language: node_js
22
sudo: false
33
node_js:
4-
- lts/*
4+
- lts/*
55
notifications:
66
email:
77
recipients:
8-
9-
8+
9+
script:
10+
- npm test
11+
deploy:
12+
provider: npm
13+
14+
api_key:
15+
secure: Jlf7fWjxdV1Dbj/5pHq0GeCsgKFrS8gaCfQXvxrrSU5xvRm5SIWRB1YmgI5RBBm42WFxhQmZW2Qp1OCJp9LGFGzzWzdgZizSk6Dk06kK8OK+JWwl2KmgPBrHU5wMaEcFH4YWY238uXDOQ3NnIGOk33r7+iDv7+l91d/UV9+paOM=
16+
on:
17+
tags: true
18+
all_branches: true
19+
condition: "$TRAVIS_TAG =~ ^v[0-9]+\\.[0-9]+\\.[0-9]+"

0 commit comments

Comments
 (0)