Skip to content

Commit e59e2e9

Browse files
committed
Update travis-ci configuration
1 parent f7c0d7b commit e59e2e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ language: node_js
22

33
jobs:
44
include:
5-
- stage: "Tests"
5+
- stage: "Tests"
6+
if: branch = master OR tag IS present
67
name: "Unit Tests"
78
node_js: "8"
89
script: "yarn unit"
910
- stage: npm release
10-
if: branch = master AND type = push
11+
if: tag IS present
1112
node_js: "8"
1213
script: echo "Deploying to npm ..."
1314
deploy:

0 commit comments

Comments
 (0)