forked from cozy/cozy-drive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (62 loc) · 4.29 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
language: node_js
matrix:
fast_finish: true
node_js:
- '8'
branches:
except:
- build
env:
matrix:
- COZY_APP_SLUG=drive
- COZY_APP_SLUG=photos
global:
- CXX=g++-4.8
- MATTERMOST_CHANNEL=appvengers
- secure: OLcPuglkDbRd9Xf8WmPAlAWTmdXDb+SNVc7+WKQjIap5Ej58BBTtaAYR8kzFKSWmvWWSnvKmOYJfOHvWIOfkzlwhGLnk/xUnCCsjWmWNjOmnL5x74gCbfEgyU+rIwr2c4/hpzjcywTVBIhL4l/Bxjn+Op+NepKYMNTKko9qB7fA+nDglX/t3VObC9kEXwXElOOgLHNpbfQLEJxdEqXm8hVMmfjA/wSQnX96GqWhKWqMMPyjAxwkxYXFa04AgeTV3C8y4x7YxiuaE8cKZfi+DYX8DyV0XdBVKJTBKTGEaTbotewmXf7F+zsZ6Rg46HvQskSmckMqMKzZfGLFKsVELt6wyNVdVwptWXfu9o2FrXvvHj1krOltN5kQPKLwSmQH4RSlekQ+JYpRN4e+w4dNazILk1pAMu7+EqBTdH5khkDxeA1LAfFVuZz3QP1/fczF/PXSMsaQa779XXKf8dsEP5S8dHjpCOLSI506E+sWa/tu1mSZoaL+jGPovhiygsPUjbjqUmim3Dz+22y2E8jGrEeIdTEcoDXrvjcqwSNvs2LXlgOtgjxP47Fb3Enk18BUpVL2LMTmwF8FbglfKOTOFHHuhT/lQjtptT6NBu0tKi8fcJ/jj3patUj2kbqo85FYext/VrPN42uIXkDCxu9bEnyaGkBpl3qgD7F0J/gJSa10=
- secure: e7S5xeDOf5b18HEYMytTtFvy0GGtEq5KHc9eiydOXpWKhs1Lry/yOK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CrYt1kHi1KG3/j4FRkh+7svvGQanJuTMJ/rgT+Nh7HRUCzYPaQNL7adjJIfZPT7rvIUxL1mWWBBiOS2ijGDudzTD8stf3g85kjsBmgH1cTsxhj0rQ0P1+r67yNSzsRIU8R9LTMIbVp43x+1N89xF1YUQjjT8ul1Q0D4E1UhFr3UrZyzmhZ2dk3TK8cFrFUGi+qw+oPPJjw2xoN0sBnqOzVcUTnWg+pBEFya++CiIiVT61VjqKeEIU8mY= # REGISTRY TOKEN
- secure: RUeeH+C5Yz3LKM/WX63NK79HnwSM3grulFbBKS4F6PZD4k1pnwV/T3pfqCcUZRvyWX7937aWqO4qD2kXRWd1T+I6wffA9H74SlsJcNFPWd6iBDGMh0uGTrJuUiimXd4hG2cFuRMF5dKmyn2P/2ncCcF3hgpntmoWVBj62YhD9CpbS/oxeUZluo4cHoQPaFvxLCYq7lLK372WCPpH2HwElkCL7lnPX1/ESJ+whgnwe+5g+XHWrsPkNIufqltBHz8Q2vIwjI7qPInS45CNutLox8fJCx4x5BAXrZjB8uNRys881HRA54KmRzdCTeq348o1DVnXo2J/poUffxELyK5TrgDJn3ZzqybnRTi5ve19I9S2HlH4MGoQ+wGys0feDPgrCkcIDm6/pNpd3EEVCxsdj69RvCTeUMoftZZRkiT4qAUKsuHGir/1of547Q/Dd6Z2KkKBrEiHbUSJIQHhYbMtdx2NIuLS7DRn9/VtW8QpySkkbPpnucCpDlhTaG65Md8to9+33yzAHjekOH5YrG1zoziZbt0ymq6JYgCMg64Gr+Gotk5j+PwIqu37T9TnqIeSim6UaznAfipXW4CmMgOvHDQj/KSfXSn0rYzW138Cw8MhoGg3bygYRBIp384UAOx9/1J3+Q0BhnYZs1TmKXPmiIul74d4DMPemVA8JhYQkB0= # MATERMOST_HOOK_URL
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
packages:
- g++-4.8
- python3.5
cache:
yarn: true
directories:
- node_modules
before_install:
- if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then openssl aes-256-cbc -K $encrypted_b1733cb50f7f_key
-iv $encrypted_b1733cb50f7f_iv -in id_rsa_travis_downcloud.enc -out /tmp/id_rsa_travis_downcloud
-d; fi
- if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then eval "$(ssh-agent -s)"; fi
- if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then chmod 600 /tmp/id_rsa_travis_downcloud;
fi
- if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then ssh-add /tmp/id_rsa_travis_downcloud;
fi
- curl -fsSL https://bootstrap.pypa.io/get-pip.py | python3.5 - --user
- travis_retry pip3.5 install --user transifex-client==0.12.5
- install -m0644 .transifexrc.tpl ~/.transifexrc
- echo "password = $TX_PASSWD" >> ~/.transifexrc
script:
- yarn test
- yarn build:$COZY_APP_SLUG:browser
before_deploy:
- yarn add cozy-app-publish
deploy:
- provider: script
repo: cozy/cozy-drive
skip-cleanup: true
script: yarn run deploy:$COZY_APP_SLUG
on:
branch: master
- provider: script
repo: cozy/cozy-drive
skip-cleanup: true
script: yarn run deploy:$COZY_APP_SLUG
on:
tags: true