forked from ArkEcosystem/desktop-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (36 loc) · 858 Bytes
/
.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
language: node_js
node_js:
- "12"
matrix:
include:
- os: linux
- os: osx
osx_image: xcode10.2
- os: windows
env:
- YARN_GPG=no
- CSC_IDENTITY_AUTO_DISCOVERY=false
cache:
yarn: true
directories:
- node_modules
before_install:
- 'if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libudev-dev libusb-1.0-0-dev; fi'
- yarn global add node-gyp
before_script:
- 'if [ "$TRAVIS_OS_NAME" == "windows" ]; then unset CSC_LINK CSC_KEY_PASSWORD; fi'
script:
- |
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
yarn build:mac
elif [ "$TRAVIS_OS_NAME" == "windows" ]; then
yarn build:win
else
yarn build:linux
fi
after_script:
- shasum -a 256 build/target/ark-desktop-wallet*.{exe,deb,zip,tar.gz,AppImage,dmg}
if: type IN (push, api)
branches:
only:
- master