Skip to content

Commit f14207b

Browse files
committed
updated travis config to support cli v2
1 parent 78b06eb commit f14207b

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.travis.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
language: node_js
22
node_js:
33
- "node"
4-
branches:
5-
only:
6-
- master-cli-v2
74
deploy:
8-
on:
9-
tags: true
10-
provider: npm
11-
12-
api_key: "${NPM_TOKEN}"
13-
skip_cleanup: true
14-
tag: next
5+
- provider: npm
6+
on:
7+
branch: master
8+
tags: true
9+
10+
api_key: "${NPM_TOKEN}"
11+
skip_cleanup: true
12+
- provider: npm
13+
on:
14+
branch: master-cli-v2
15+
tags: true
16+
17+
api_key: "${NPM_TOKEN}"
18+
skip_cleanup: true
19+
tag: next

0 commit comments

Comments
 (0)