mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-20 21:37:17 +00:00

Currently build scripts install dependencies and package everything on every run. In order to allow more customisation, the build scripts now accept the following commands: - `install`: Only install dependencies. - `package`: Only package the application. - `all`: Install dependencies and package the application. The above differentiation allows us to improve the documentation and CI configuration files to point to the `install` commands instead of having to explain how to configure NPM correctly, since that's done by the build scripts by default. Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
43 lines
922 B
YAML
43 lines
922 B
YAML
# appveyor file
|
|
# http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
init:
|
|
- git config --global core.autocrlf input
|
|
|
|
image: Visual Studio 2013
|
|
|
|
cache:
|
|
- C:\Users\appveyor\.node-gyp
|
|
- '%AppData%\npm-cache'
|
|
|
|
# what combinations to test
|
|
environment:
|
|
global:
|
|
ELECTRON_NO_ATTACH_CONSOLE: true
|
|
matrix:
|
|
- nodejs_version: 6.1.0
|
|
|
|
install:
|
|
- ps: Install-Product node $env:nodejs_version x64
|
|
- npm install -g npm bower rimraf asar
|
|
- choco install nsis -version 2.51
|
|
- choco install upx
|
|
- set PATH=C:\Program Files (x86)\Windows Kits\8.1\bin\x86;%PATH%
|
|
- set PATH=C:\Program Files (x86)\NSIS;%PATH%
|
|
- .\scripts\build\windows.bat install x64
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
- node --version
|
|
- npm --version
|
|
- cmd: npm test
|
|
|
|
notifications:
|
|
|
|
- provider: Webhook
|
|
url: https://webhooks.gitter.im/e/0becb34b32e20d389bb8
|
|
on_build_success: false
|
|
on_build_failure: true
|
|
on_build_status_changed: true
|