Skip to content

Commit d314f70

Browse files
committed
adapted travis config to now build and publish master
1 parent b912247 commit d314f70

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

.travis.yml

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

0 commit comments

Comments
 (0)