forked from natcl/electron-node-red
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 808 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
# Use OSX as env to build in
language: objective-c
cache:
directories:
- node_modules
env:
# Node in order to install it by running the command individually, here to specify the version
#- NODE_VERSION="4.6"
before_install:
# Install brew -> wine and makensis
- brew update
- brew install libusb
- brew install wine
- wine --version
- brew install makensis
# Install the nvm. Nvm is not included by default in OS X environment of Travis
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install 4.6
- nvm use --delete-prefix 4.6
- node --version
- npm -v
- npm install -g electron-packager
- npm install -g appdmg
install:
- npm install
script:
- npm run build
#deploy:
# skip_cleanup: true