This repository has been archived by the owner on May 9, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
40 lines (40 loc) · 2.69 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
language: node_js
node_js:
- node
cache:
directories:
- $HOME/.npm
- $HOME/.cache/yarn
- node_modules
before_install:
- yarn global add firebase-tools
- yarn global add greenkeeper-lockfile@1
install:
- yarn
env:
global:
- secure: xz3t9A9+lIdrj8FUnfJ5ZQdFFA9cUXNtUjFDJxYJoqA79Akb+lrKCx3WWM6cOy4l4ffgfXerf9xmCowYKgrdwUr+erwUUcjRseshvtiHYikeuQq4Dg21+CPS9vk1QKKDuMuc8359p/8QWkljYcsVlggXVrBbq2qDpvQJ9BOi5FH55TS2IWfEuoniWgKUeXjjmExDUt1WTQJIxSQvn2cfgZyuKEgaFQXWozP3YMU6oQUMsWT3lAJSSkkX9HSWh2x+Nl41Mli6nWKiwrtQ00c6eukGIt/L96i069GcoZqZZFVdElBppCCBZ/X6kIMS5u3UN/yyf9muba1VXnPvkFPjfSK7ERX7gXhShQ1WEN/IUBPkDckK3EFx0BluM3Q4hEr5zcUMWz8lOXU4ExWPqkQt2DwJJRQY2fsXxpZ22ndSf/heGB3VeGWuTCTM1ei4PhnVcMs0SSTAJVhJOvJvCggmtOiFf5+23F4i0QYXl1fjqbcglUKVKdNz0968z8EklIbhqJCc9q3bUYdkVYLhRPLBuHdtxLHhUFRL6aNiUV9gaqq5w+dMA145OX5oIJMZ99Ev1POPje9Jn4NkvvmbYSBSbCEKxZbxW7ERXG/2Bhg6q2KC0k5bJVZXOcunygSDNgNWb0wnQsF5E3HmL2y7kH2XSll+DiUzJ3n055qhq8/j7nk=
- secure: wOyvsW+sIPnSijdfzePMld8Z6x8O1XjRcekV/lG0yKV9WKGIUjB5jgAccEtFssemJdUG865SncJAM0+aFMZWyXBulcWOmYcIr5ieZfUTxndQhb5BMshyP61u7R+IVaoqsN3bic/yK4Qqtd+bdbq5mSdETjlVgqkW3jgsLo+CwYAH5kJOsA+UPxVyM4gieqYk1xa8qfg6yLwDLaW4/Za5pUQ3n1FSbFO7kMYevI5pjynesMSi7xjAwgum7ZP7JUEqL3A1sgdED8xCliSnwvFX6xTrPooEEfldjXGi6XlAvBdRQNcRFL8fzRHh2G8csnmrSI6LYQoyh0QeiJ3cThPZeLkdLRWCkq+E0xXk0BnNCEF+TsPzBuL7rnPakHA9AxN24PIonXzEEMxsGm0NHDRMF4Sx8ddmo5IsDDv6zBtfnb7qfH9selUgdEJw8kc23xUYcHRj2dLG5ZoDhOS6aXJJSOhLIWZdo+WlZ24a/GJR1ynUJrMCOF6/qZCpfhjlZ+aETglEpSVkGIKs1QhKM9t1jcO4aE/qI9ylW+V0GFeuJQog5wwYRmCBVTpVYDXbag9R54o+TmBiAotKQIYGpGZo81GSX0hHKdA86bUsuWKik+AdZ7apyVkArr7qSrNabS5yuBzVNSAKO//LCuPpEO23zoSKWWe9mpIeFPUXJXunyNk=
before_script:
- greenkeeper-lockfile-update
script:
- yarn test
- yarn build
after_script:
- greenkeeper-lockfile-upload
before_deploy:
- XZ_OPT=-9e tar cJf build.tar.xz build
deploy:
- provider: releases
api_key:
secure: XgND8MPNtyvFNgQMBS1nyjbfi34PlCiIdV/ONcK8pc8SqwtheTzbBlJuUy4uKcwWFWLB8gouEXTZkn1XDeJaQYOiWlrYcCPWuksSjaKc/DM15yH63Vu2SPoYOgDU5iNjCqMIOsGG3oI7K4Py8+khLYven8XiU4XlYilD7NV2kSbQZJw2LKf5Kb1KUoZ+KHzzf+TIx9nAgNOupkWVu7kQFVDQlb4l7g3eo5YrYW4X+y89+ATbw7bwqhJamzALB1srPBe2sFx8sQiTQ9Ui5K4MvuKkZCGFGRvX/sztpnLBEkcBCQkrGrHGhMxMKtDsLDaorqtZR1NI0d6Su78NxmfWL8YK1NL/4FlRaNrkj62T6/gRt0EPEyk5A/jhGIDxWJYYD7UhvrbTvnbd8YMca6Wt9VRol9W9NfHLIS2lZWjgJ2klcK0sUY3drnEeUR9S1aw9IAN6FqvValikTuWLuDCriLwuzh2z6f5RtEpQvIyK8J4M/DMKiD7e+M6DDEG9WiFqOspi8z66e07R9wp5jdaLZWeNKXz7SVG9x8SuIb7lZzI1B7opfaOtAnReVa7OHCqGm7IqCI4LKs0MyYEByKlSldYr1L76xPCgbto+CgQ7zU6wBsbOcQ/zbadXM6RzaQreMgBIVWcC6WqcSd3mp6qaYCmGVBpDYhMWz9VDDjuxYbw=
file: build.tar.xz
on:
tags: true
repo: iotv/web
- provider: script
script: firebase deploy --token "$FIREBASE_TOKEN" --only hosting
skip_cleanup: true
on:
branch: alpha
repo: iotv/web