-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (38 loc) · 1.45 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
language: node_js
node_js:
- '16.18.1'
env:
global:
- MATTERMOST_CHANNEL=publication
- secure: W8pSV2RTb7kYW08ia1+8o9HvoPDA3J6/eS9QsnG8bUM6X1uPWPr68wN8wH0QuMTKtQw+drF7lvmt2ypiSIm+RnC+487zHuQrYBehhPPBPDnHAtOgjPMB7wWnKoWD2ZweIKDphRGEv6Ibbaaskzo1xkw1gz6PUcyTv96ulSEj6HCevc4kn8ouHzP91ySt+wlO/+AibvwWj3ecMzO5OkcQK91W/ycBrNEY9OdYAEKXD4JBb9KVrJKKnz4bILAvvsUaKgZVZ9Sk+py2FW+JaPDl7lUcgNjrkk33dMveJRLbYa8itnkRYkH3L6aLKodA7xEonCxESDjJoxJPw98G3KHCKpTTe7RrD6lcxjmpZbOFhG1WJXDCTz5jPhucy6l4oIw2dkbVv0qYNyc1+L5iHzb5f8nXjBsZw7T943X/Zg6Hld0myKfYriLSe/hfT7NqrAzCPMvIwQf6ugJCuyrC8xuDlPNNT2jGNU4Xr2nAEUhxxFCQ1IEcTCV6FKO84Qn+X8Q2Cb47UJF7en/jKZcDjoAC+jDT48QvVJ6Zf1VcYz2v+9WGo1VuoBkGHds4e90Y5UOJb66rld5hft2k6wjbMgkA8kf4vlf75hmUsjLXwbTca2fPhkPQHiyH6T/pkXRUl+3SRKj6AEJws7gt7ePB8unDWV+1e2X9fr1dJkdtlQvQROg=
cache:
yarn: true
directories:
- node_modules
branches:
except:
- build
- build-debug
script:
- yarn lint
- yarn build
deploy:
- provider: script
skip-cleanup: true
script: DEPLOY_BRANCH=build yarn deploy && yarn cozyPublish
on:
branch: master
- provider: script
skip-cleanup: true
script: DEPLOY_BRANCH=build yarn deploy && yarn cozyPublish
on:
tags: true
before_install:
- openssl aes-256-cbc -K $encrypted_8ebb1ef83f64_key -iv $encrypted_8ebb1ef83f64_iv
-in github_deploy_key.enc -out /tmp/github_deploy_key -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/github_deploy_key
- ssh-add /tmp/github_deploy_key
after_deploy:
- rm /tmp/github_deploy_key
- ssh-add -D