-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
38 lines (38 loc) · 924 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: node_js
jobs:
include:
- stage: test
node_js: 8
script:
- yarn test
- yarn build
- node_js: 10
script:
- yarn test
- yarn build
- node_js: 12
script:
- yarn lint:commit-travis
- yarn lint
- yarn test
- yarn build
after_success: yarn coveralls
- stage: release
if: branch = master AND type = push
node_js: 12
script: yarn build
deploy:
provider: script
skip_cleanup: true
script: yarn semantic-release
- stage: deploy node-mdl-starter
if: tag =~ ^v AND type = push
node_js: 12
skip_install: true
script: echo "deploying node-mdl-starter with generator-node-mdl ${TRAVIS_TAG}"
deploy:
on:
tags: true
provider: script
skip_cleanup: true
script: ./script/deploy-node-mdl-starter.sh