forked from GetScatter/ScatterDesktop
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
35 lines (35 loc) · 901 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
osx_image: xcode9.4
sudo: required
dist: trusty
language: node_js
node_js: "12"
matrix:
include:
- os: windows
- os: linux
- os: osx
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
addons:
apt:
packages:
- libgnome-keyring-dev
- icnsutils
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install --no-install-recommends -y build-essential libudev-dev libusb-1.0-0-dev icnsutils graphicsmagick xz-utils; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -o- -L https://yarnpkg.com/install.sh | bash; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -o- -L https://yarnpkg.com/install.sh | bash; fi
env:
- YARN_GPG=no
install:
- source ~/.bashrc
- npm install -g node-gyp
- npm install -g node-hid
- npm install -g xvfb-maybe
- npm install -g electron-builder
- npm install
script:
- npm run build
branches:
only:
- master