electron-node-red/.travis.yml

31 wiersze
808 B
YAML

# 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