-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
45 lines (44 loc) · 1.09 KB
/
.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
39
40
41
42
43
44
45
language: node_js
node_js:
- '8'
before_install:
- yarn init -y
- yarn global add greenkeeper-lockfile@1
before_script: "./scripts/greenkeeper-update.sh"
after_script: "./scripts/greenkeeper-upload.sh"
jobs:
include:
- stage: Spec Tests
script: "./scripts/spec-test-plugin.sh"
- script: "./scripts/spec-test-widgets.sh"
- stage: Deploy Widgets
script: "./scripts/deploy-widgets.sh"
before_deploy: cd $TRAVIS_BUILD_DIR/widgets
deploy:
provider: npm
email: $NPM_EMAIL
api_key:
secure: $NPM_API_KEY
skip_cleanup: true
on:
branch: master
node: '8'
- stage: Deploy Plugin
script: "./scripts/deploy-plugin.sh"
before_deploy: cd $TRAVIS_BUILD_DIR/plugin
deploy:
provider: npm
email: $NPM_EMAIL
api_key:
secure: $NPM_API_KEY
skip_cleanup: true
on:
branch: master
node: '8'
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/c8d311cf741ea64d3faf
on_success: change
on_failure: always
on_start: never