-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (29 loc) · 1.33 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
language: node_js
node_js:
- lts/*
cache: yarn
after_success: npx codecov
jobs:
include:
- script: yarn test:coverage
- stage: release
if: branch = master
node_js: lts/*
script: skip
deploy:
provider: script
skip_cleanup: true
script: "yarn build && npx semantic-release"
- stage: deploy
if: branch = master
node_js: lts/*
script: skip
deploy:
provider: script
skip_cleanup: true
script: "yarn predeploy && gh-pages --repo https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git -d example/build"
notifications:
email: false
slack:
rooms:
- secure: nN/oayPUWUjQMppYfizY/YZm8CnsoQbpy2WjBrj1zeAJaf+bfTK1xxFxeiNDbL8/7i55N5f0M6RB3aM9jn6uCx2XIw8T1I7tGf6YcY7y0QmjHPlSNVESgmYblKDDwgUWEfF0VeGVFAw+OY1uqB938KU2k+JvCAvOHioBSVR8AzfntXw6ClJ90d5IMWjNMOgLDlOmCKc/jIhJqDWiLZXZ6VKyH31G/cjzuHDZhB/PDDzXAB7/kwU5vkhuMqhlaCo+UWmAPx+qZEn1WaSlV57mr/Ij2zXTbRooQsPgf7VrGu1XVrB92hUz8HUlWsYJEdA5TVYmJytrePnke7YHYiBywlBNtgpBJSGiUhOMfI9+Sym22tCq/6CLkISYTActtHeDF2KVOgVIDxFKiYARwBAtBWaI5qupKDnUypXBQRSWXW65/fQTJ1bMibMxMGfTJR6ABUFfudvLiheyigRcLL/5lftiCEzhRFmCTftzZD/6TwWn8Mmfd10foBiFzmu8SvzX7c2CNkGJhqHU9BlDNjEw+qatmDZZISspEd/UV/Wy/mlzVLe5Prj4FFj0eCOUc8RFJ4HRWlfsMYVeEHct9YLG5u6xIW07A+2GnKMLLHbMHRmVBvei1Veq3//qNrz4UTkg0OKcU9J5FafG9oldtYAAXGz0j2zqLKYiGpT91XTN1IU=