forked from LN-Zap/zap-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (72 loc) · 2.94 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
63
64
65
66
67
68
69
70
71
72
dist: xenial
sudo: required
osx_image: xcode11.2
env:
global:
- DEBUG=electron-builder,electron-notarize
- ARTIFACTS_BUCKET=zap-travis
- ARTIFACTS_REGION=us-east-1
- ARTIFACTS_DEBUG=1
- secure: hiqFwocHM6I9ZN3yV17opt7s19qtcoMu9yyy9dD3e7R00O9ZRRP7gOaXnf5kGpHXZrIgFAOg24oRe+sm3Llrgxsv05cJ07di/cOEooIZC8tuPumLlczEfKyGDYiSrZ39gZRQF6446lapOu48qC72eOYhgL4UMDmMJqvcUgeaDoIfiKyrMbcPUQ99rAGZj6ZBUP0EL1JGrIZO139+l5PYHk9oHx2PuOoTmW/lMJGSlKbpK0D3RGaBeDYo2Rv9KHi0PS1vXWCNh0JElmDWscW+m5r0HyngrOXrtTKdSM61zEHWSzb1To2TdUhD+FckmK3L8PpBoAs9505vHMZ4Un6M9F7tqCrMBcTJcspe0Kq34sl9fiTZ9ej6IjOX+SmdcSWzdrvFHkL6t40f/gmv56p552qH+6bp+wODSLfYum4gtpNpozzUo2PtsfUqw5PPH7cz0j2hDoXTtgLyjna9td9+7TXsBtunmze6Yq3SpQuOd+FKeCoxBV/4rO7L6WW/9y54NnPVm9vS9nnfhxlByCgyGaSIuw2YqMDfhGwJwqtJ1HGgtO/fiFbfB7ft9wXfRgR4pA9U9cFV203X+wNxHPvDuoe3DmF9e6zAnk9XbJBf8iVZ1feivyeE3znSZW47rdilJ4a4xSUd8XsjvfJbraT6kN15WnY61EIHQbdbdBieDf4=
- secure: yrbDETG/IhHOLPhTLck01LWSzJnxfge+7XoB2CtUjSnC4HGgPrSLl6dw9fO/dYzu1woBDqmUVtMqOjCQKDTKpw5OjG4MtH5DGIPvg+ARmUJPwsJyZZcWxc/0+CT1du2BdROrJeVjV9sCAQcbVTxDVgFxcK04YWfe8Lo+48sQX0oK7VxaPL5T3NvreapSgqsT2M66a2eTxFvn2Bw9Znk/65ug4OFUXGXZLY8/FALkhZGfqqVN9s1a9/Lgq2e2/8mvnAjxvNfNAc+bVlZhgY/zjr8n5Hr072I8QrG+dVLkL+sDpr/vl/CtL73/To3GZ21Mctu/7PN14nMEVCU+G4jOx+JmcQ/97LMZuoO0YoNXeF6npoHL7d1p0pHNBRi4FJcgtQz7ILKOWysHpmRPhiLJjAPJKj67c8F5RO7T7F1+1gFoqz6Xa0HEkOzf3yD+DVwFMjo+f/8cVSSljQKDvAxS/N2202dczGSqwdQIgoRUWqk0Rbs9eYJFiziq7r2WZDUkZlj1CqPg6zbzy1mcEAOZuyDXtS0xsE13aYyLXTvKxG/UZ0LjOzLPxTwX0wzC4g20OhjJp3qX1fwwcyoUb1x+t1kTqXW4ZaNuj6fw6xkG/CRrI1g1uyEOOJwVj2+uUurJmMsmjspd5eDDrWDwsn4aje9Xzuczsz0nCEGCJl8EpZ8=
os:
- linux
- osx
language: node_js
node_js: '12'
cache:
apt: true
yarn: true
npm: false
services:
- xvfb
before_install:
- stty cols 80
- |
if [ $TRAVIS_OS_NAME == "linux" ]; then
sudo apt-get install gcc-multilib g++-multilib
sudo apt-get install libsecret-1-dev
fi
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
install:
- yarn
script:
- yarn lint-ci && yarn test-ci
after_failure:
- artifacts upload ./screenshots
after_success:
- yarn coveralls
branches:
only:
- master
- next
- build
- "/^feat\\//"
jobs:
include:
- stage: deploy
name: Deploy to Github
if: (NOT type IN (pull_request)) AND (branch IN (master,next,build))
script: skip
deploy:
skip_cleanup: true
provider: script
script:
- yarn release --linux
on:
repo: LN-Zap/zap-desktop
all_branches: true
condition: '$TRAVIS_BRANCH =~ ^master|next|build$'
- os: osx
name: Deploy to Github
if: (NOT type IN (pull_request)) AND (branch IN (master,next,build))
script: skip
deploy:
skip_cleanup: true
provider: script
script:
- yarn release --mac
on:
repo: LN-Zap/zap-desktop
all_branches: true
condition: '$TRAVIS_BRANCH =~ ^master|next|build$'