kopia lustrzana https://github.com/dceejay/electron-node-red
more...
rodzic
961a41a505
commit
0cafd0ad31
28
.travis.yml
28
.travis.yml
|
@ -6,20 +6,6 @@
|
|||
env:
|
||||
# Node in order to install it by running the command individually, here to specify the version
|
||||
- NODE_VERSION="4.4"
|
||||
before_install:
|
||||
# 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
|
||||
# To install the Node of the specified version
|
||||
- nvm install 4.4
|
||||
# To enable the Node of the specified version
|
||||
- nvm use --delete-prefix 4.4
|
||||
- node --version
|
||||
- npm install -g electron-packager appdmg
|
||||
install:
|
||||
- npm install
|
||||
script:
|
||||
- npm run build
|
||||
before_deploy:
|
||||
# Brew is the latest state
|
||||
- brew update
|
||||
|
@ -30,3 +16,17 @@
|
|||
- brew install makensis
|
||||
# Perform to build + installer created + zip with respect to each platform
|
||||
# - npm run build
|
||||
before_install:
|
||||
# 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.4
|
||||
- nvm use --delete-prefix 4.4
|
||||
- node --version
|
||||
- npm -v
|
||||
- npm install -g electron-packager
|
||||
- npm install -g appdmg
|
||||
install:
|
||||
- npm install
|
||||
script:
|
||||
- npm run build
|
||||
|
|
Ładowanie…
Reference in New Issue