forked from vincelwt/harmony
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (26 loc) · 866 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
git:
depth: 3
notifications:
email: false
sudo: required
dist: trusty
language: node_js
node_js:
- "node"
os:
- linux
- osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then gem install package_cloud; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update && sudo apt-get install --no-install-recommends -y icnsutils rpm graphicsmagick xz-utils libdbus-1-dev libglib2.0-dev ;fi
- npm install -g node-gyp electron-builder
install:
- npm install
- npm rebuild --runtime=electron --target=1.4.0 --disturl=https://atom.io/download/atom-shell --abi=48
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then npm run-script buildLinux; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh publish_linux.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then npm run-script buildOSX; fi
branches:
only:
- master