-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
54 lines (45 loc) · 1.21 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
osx_image: xcode7.3
sudo: required
dist: trusty
language: c
matrix:
include:
- os: linux
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
- os: osx
cache:
directories:
- node_modules
- app/node_modules
- $HOME/.electron
addons:
apt:
sources:
- ubuntu-toolchain-r-test
# - llvm-toolchain-precise-3.7
packages:
- libgnome-keyring-dev
- icnsutils
# - clang-3.7
- graphicsmagick
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install git-lfs; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then git lfs pull; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -L https://github.com/github/git-lfs/releases/download/v1.2.0/git-lfs-linux-amd64-1.2.0.tar.gz | tar -xz; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then git-lfs-1.2.0/git-lfs pull; fi
install:
- nvm install 6
- npm install npm -g
#- npm install electron-builder@next # force install next version to test electron-builder
- npm install
- npm prune
- cd app
- npm install
- npm prune
- cd ..
script: cd app && npm run make-dist && cd .. && npm run dist
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"