This repository has been archived by the owner on Dec 8, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
80 lines (78 loc) · 2.36 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
73
74
75
76
77
78
79
80
matrix:
include:
- os: osx
language: node_js
node_js:
- lts/*
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- os: linux
language: node_js
node_js:
- lts/*
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-multilib
- gcc-8
- g++-8
- g++-multilib
- icnsutils
- graphicsmagick
- xz-utils
- xorriso
- rpm
- os: windows
language: node_js
node_js:
- lts/*
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- YARN_GPG=no
before_install:
- yarn install --network-timeout 1000000
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX="g++-8"; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CC="gcc-8"; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DEPLOY_SNAP=true; fi
install:
- yarn --ignore-engines
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
/sbin/start-stop-daemon \
--start \
--quiet \
--pidfile /tmp/custom_xvfb_99.pid \
--make-pidfile \
--background \
--exec /usr/bin/Xvfb \
-- :99 -ac -screen 0 1280x1024x16
else
:
fi
script:
- yarn package
before_deploy:
- rm -rf ./release/*.blockmap
- rm -rf ./release/*.zip
dist: xenial
deploy:
- provider: releases
api_key:
secure: hQ3DG8OxIVUw6UttiZwm9vP4ZPlZLCUKDx//2AatgwjdS33Y8Vm4OK4R/Nhom8LXL+kyYyXQVPE+HkQeYy3FXiuyYZCOvoorL6X5NzwsffufzS8hKDW98VBOgNLn+sS3Qx548nIk2ZuebvWpOyJzADIRo1AKDbNsX9C69dzHmxGdYKxIy6t5yrgdmT3h8q3ya76jxcEyO4epV1jrg0Df+dbaFVESPbcVzO8YQa46e4vdjpjSOplK67Q0ONPBoP75SIihgdyQn/CjSCQV3tZ7hXgPOyfkct3DBPVh/5Ld33SexUg649hVDcMoobdL2AjTopf0HF0WU9v66wc48XIqERx9VnjDBxZ6QSfFBm7m8oSPKb5Ne0KOSNDAwr/yrRkJ9tKoofxWfV6SCN8muG4OSdXlrIi+rge8Jn472KosS+31ABhMK7oYg71ySPegjo5hidTNSIekmYw+mzJ47xO31FgaATNxThuKFwRMy2bPaHtWl6a1MwN/YqV0/l9Gv/EV8Rm2iWFp2Oj4aUVFLWymKoFiZljO9h8SFyi/UqEr1kJzNq0xlCXfBf4uL+5YqxclQnWK4oWVOBTyl/LocZ669ey3X24Y/x8xgx+cRzL5HvW/SMki+X+XGnukM/j6NRvX6bo8UhQUPJv0uEbLrkFoDTRtg1B9LyuXxTjFL0ZYU6A=
file_glob: true
file: "release/proton-wallet*"
skip_cleanup: true
on:
tags: true
- provider: snap
provider: snap
snap: ./release/proton*.snap
channel: stable
skip_cleanup: true
on:
tags: true
condition: $DEPLOY_SNAP = true