-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
34 lines (29 loc) · 3.26 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
_test_scripts: &_test_scripts
- yarn dev:setup
- yarn build
_deploy_scripts: &_deploy_scripts
- *_test_scripts
- zip -r public.zip dist/
- ./publish.sh
cache:
yarn: true
directories:
- node_modules
language: node_js
node_js: "10"
jobs:
include:
- stage: test
script: *_test_scripts
- stage: deploy
before_script:
- sudo apt-get update
- sudo apt-get install -y jq curl zip
script: *_deploy_scripts
if: branch = master AND type = push AND fork = false
env:
global:
- secure: i0Zhqe4V5o5X3llRd25Cty3NfQLbwR8vAmUfBele2hw9EhkkwOaM+BMV8YRC/ZWXRNeg077kA6/mnQURZG3m+ARlgzhvEX6+d+AYDlvMFoxo90MpSDVNeM22TBv3IV6w6REgrQ7kADwW8gZilad7wKYamsfNLx1/8RKngliaNQMRTd1yWEbCBlxbXelp3UIPdT9QmjV7APNhWl1kJeUpEJj2xepZlvW3UYru7AycSXAwL0Jt9EHCSdRKIhb2VfTlRRA7NTYog4m4tRSjQtuQrsTchCbCfJH6VLvbyL1uJflltFvOyivD5jxoCaO3r/3QfEgX5WjOzRDSPVayrzSY9TjC+3DipF+saFVjrNE14BkqHuVq37WGf78Xf7dXaLvkkBLo84Rx26YbRz3G7Fx+YkFOrJaG4CwPKRc7Jl1T95OdWPjAg2osxtXUe6jo7ibMPIiI8j0lDYo7CHKt0eUejHEXjXlX+5mvPbFE5oHqyj8G3T1UW8W9MfC08ZKtuHGIrvArnHUfvyDBxMfH+RO81c3wXFq+GMMWvHiqpzGwKtmShab2XWikn8XV30d/gO1FkylJaQlxnfmO3bMYzLwK/tydp6rAdHM6p6HYRQYRcql5i7uv/JUeDPzeolGmTL8+xqu0EQhLzf0KnjKoxvtt9S4dBLk9huHbayjr6CSIbu0=
- secure: ABBB4KlClOZANkEgj1xfdrs1noyY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