mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 14:37:47 +00:00
dafbdd5f34
Change-type: minor Signed-off-by: Paulo Castro <paulo@balena.io>
41 lines
797 B
YAML
41 lines
797 B
YAML
# appveyor file
|
|
# http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
image: Visual Studio 2017
|
|
|
|
init:
|
|
- git config --global core.autocrlf input
|
|
|
|
cache:
|
|
- C:\Users\appveyor\.node-gyp
|
|
- '%AppData%\npm-cache'
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
|
|
# what combinations to test
|
|
environment:
|
|
matrix:
|
|
- nodejs_version: 10
|
|
|
|
install:
|
|
- ps: Install-Product node $env:nodejs_version x64
|
|
- set PATH=%APPDATA%\npm;%PATH%
|
|
- npm config set python 'C:\Python27\python.exe'
|
|
- npm install
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
- node --version
|
|
- npm --version
|
|
- npm test
|
|
|
|
deploy_script:
|
|
- node --version
|
|
- npm --version
|
|
- npm run build:standalone
|
|
- npm run build:installer
|
|
- IF "%APPVEYOR_REPO_TAG%" == "true" (npm run release)
|
|
- IF NOT "%APPVEYOR_REPO_TAG%" == "true" (echo 'Not tagged, skipping deploy')
|