forked from konnectors/cozy-konnector-google
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (42 loc) · 1.61 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
language: node_js
node_js:
- '8'
env:
global:
- GH_USER_EMAIL="[email protected]"
- GH_USER_NAME="cozy-bot"
- DEPLOY_REPOSITORY="[email protected]:konnectors/cozy-konnector-google.git"
# REGISTRY_TOKEN(editor=cozy, app=google)
- secure: S3PdlR02T7JuSdKxKwkUl2KAefyl/tGKFp8yunQrYn6HA6POqBwQZQ17Rguho3le21MXwG23NABVH31rZBsj2U7pivNfwPFKlOWPje1ehB2yMb7kBX7TRDS/iSHOg38UXo0yfkOwFeN02IIJKuKhFfuE+n0SQisWwGHiel8pMAdIZixmRuLQ5x26yTU2EYxvuM0SK8wF9tzp+hajeq4q7zz67OQDmNxsyfQw1htTsiZjFnY/bQq/3pBeGfA3JA1i7T+51DXnQU7w1hL86sbkGKzzB1q0rqvtsJaMaj+qzNICN2H4TyNwd6G0jyBBebGpcaBfcuKeLp6AgEMIgtOYRf16R1IIHI8o1VqQaTS1v/27KKI3PPeyhnEvQl/s6w/Tet0NnbT3B3WKPmbwwoQ4V046DWUrHYVke3vJmrNMLjMs6qitAFLRVYLFhr42ccsTBqyeAG3CzjrL2iElcsEPWFk9hAHhUqBnVqFOBsmSVZPolHeVc2ewNMKbPsWbsN6CQTr8G08ez+d5+fTD1UTdye88ezLpdc0G8HFkpNPJ6zQGuZTzZ7AOed7KWLByv+bSlX4hBkVXuKJsej+Vicd+bdI0YHhZXCaLmOcO28htoF8fw1NWFIzTm5JCKgCLIeTqTOZneiQO7PSpqgGh9HNceYAtvbaMNUNPM2vle9iDetY=
cache:
yarn: true
directories:
- node_modules
branches:
except:
- build
- build-debug
script:
- yarn lint
- yarn build
# - yarn run check
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_179f4f558275_key -iv $encrypted_179f4f558275_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