forked from rdmtc/RedMatic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.31 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
language: node_js
node_js:
- '14'
addons:
apt:
packages:
- jq
- libavahi-compat-libdnssd-dev
- libudev-dev
branches:
only:
- master
install: true
script: true
before_deploy:
- git config --local user.name "hobbyquaker"
- git config --local user.email "[email protected]"
- "./build.sh"
- source ./addon_tmp/redmatic/versions
- git tag "v$VERSION_ADDON"
deploy:
provider: releases
api_key: "$GITHUB_OAUTH_TOKEN"
file_glob: true
file: dist/*
skip_cleanup: true
on:
branches:
only:
- master
draft: false,
prerelease: false
after_deploy:
- "./update_release_body.sh"
notifications:
slack:
secure: zA02a/ayBlCncv/6TCHKUgUm5xtqcBdIVl0mLNR4dV+jlOKHFqIjFtMtPIAHOeFmmMklBd4Gwz8/FH3Y0CXx49AwRVUSfYMLpcVdXp3vaepqOOKSttpNZwcA1Yd2f4bOtg/UolqApXQ4MuFn1uFqAbvgDJtAi93rGWdcqFrQATak7Q8JlVJBNyElnFD+nK2MzYTCvBxW9Tk53os+PMHL4i8OczKtf0DNbcigIAAoo20AETxa+58kxiTj7q25Uvx4sCAlh68uT6ajdOlPjr+Kp1NsQEOcpfa5ogl937SH9GHdazU1XrDKMQZZD/CiNsn1yaKVUxeShTOHBpARlBY3kmoxPaH8Mi01QvgLPaG0Nd8duQBiguO1NSK3NB5JBu+Jyo83B/9GIP8VS34noki7l9DJ9cB1/2Odi/brKVkxkvPdh7rxsXtoFpsJ3llCwrL8/3tXpVRJYMspqGW4aW2uGoahT4qkAHVHEvlH1Wz5rl3bZ2N5AW9CgaJbveIOrUrRe18QGvQ1Q5Nxha+2x2++R0u1eOG25msYVD1BehUqG81RNREhmVNkrJQ9g7W10jHZR67mAZ3lyumr11agCxlV7XSNjYFkgguWVj8BSIyP5gbQhcZP19uL1cPghSQVRDhXyN5Cj8BgMVhn/oPYVZc0F5Ah7HrcLOWIoKSYZxfG8oU=