-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
41 lines (41 loc) · 2.22 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
language: node_js
node_js:
- '16.20.2'
env:
global:
- MATTERMOST_CHANNEL=publication
# REGISTRY_TOKEN(editor=cozy, app=scaleway)
- secure: Mr2f8i2opFhHZaiHVb85r013ea5terAmNNweC2OJSQrn1t/z/SGxqmeZWdjTw/dW/leTOjpel7tmVIE04rEP4cMLGRU+/eQchx0tJuSKiefO70ReqmxfgZ5nCdSU7stPxTeedoI3v7kghO8vuKgbBFRi96dgxbCIs43iDfZ8JWL7t7MELqvsDglgpNDy3iZvyX8oZgqEtUf2bSjEqsx83gYwlAdewA4CF5OEO7pexEBMBasRXeUBqmqX2JA6dLp9dXI4wzrIN9hqXQ6fjEqmY1j1NX6bsBzRbTX8LApNhnSC7Wjf8Ap3r26Aj+rlioXgxOXVYY0jZjAjtpHdsVHgs72zmSo6h7XyH0BCr/m0R6ySBUTmFqgZN/CuEJl/T3GRIlEKwkfpjmLcdmF0WgAEVOGNI/eIc6BTnxxrPSU/f5iErOHa5u6XSDsDMmEMpJg/p4oANJgb9VpynFuL9Aafcjh9+ZoCRI5H/r+3oLLP6s16FOoSdnW2YM5uZWHomVwvUV9gdx7LXxJxmlHi76jocamtB9zhaNEQhgPiDUg+ysSQG/WlaL1d/PpW7GOYtqWixFsH8YeSSYZMCzyHj5mPPBbcNlb6hUHOa04gdZEe4l9fUWDAJS8Q/x4NDiWXYtZYDjvgHjT/CfiGg0P++NWOmGKUhox8N3noaTjXDKJhkwM=
# MATTERMOST_HOOK_URL
- secure: AUQ2U5EcExnV40ZOPtXvNayUy+4XI5KHRqHYAzszTbUYlvOtJoRuY4alA9JXmjak25cSej6egd+jkGGqa5SpBBRbN/mlXQ00OFy+2GVrHamQQIq+eMGlV0MrGZ1YBBoj3L3n6ajRGtFtvNH7vbLzk2IESvxrAWaDxiES0PbBuq3jL7u2hCIDvyjFMIPENT7VjAf0mk75DiM8tiT7b8yD3GPwi0ttR0/pTIgEf08XRtku9c2+H0oXdCXbovc6CR/g2evD/TfSPTZ4EFN1aUC2svI2aPqc2m7wx7RIQKULeus9HFAnFXX1Qku2AiPi38deCVd0bH6XbukL7VNVEA/FJWrlyMXciuuQKDXcIbS5mlsaSl5jtC4LPuL9npm9sMvjosfV6mBMnfXEPRBgAfFVEafg7yIyUpA08h1zsslrFk94Gp0anXQPeUk2UY1W2Y0iYZcBWYv2u8xN1umALcKiOs8X7QPHZ5aFCW+p4arkSDB9Q7EKC5Rs48MWezBcRqnDocsurkc49eSD+V5it+iPxYvm1WwEbc+ZBec+/GhF2Ig5DZAjwV3DdOyv0j7IyntFoN/BWvArMoutNjZ8SC8fw5fqWkItYt3cIApPIu6uH8mmQ99giV1zOmYblUH7rDUGFCIvj4zcXLc7pfIwDp3Q3yrn3BNfA59tB8sXo6GdMNI=
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 --postpublish mattermost
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