mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-30 02:28:51 +00:00
08de0938a0
Change-Type: minor
35 lines
654 B
YAML
35 lines
654 B
YAML
# appveyor file
|
|
# http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
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: 6
|
|
|
|
install:
|
|
- ps: Install-Product node $env:nodejs_version x64
|
|
- npm install -g npm@4
|
|
- set PATH=%APPDATA%\npm;%PATH%
|
|
- npm install
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
- node --version
|
|
- npm --version
|
|
- cmd: npm test
|
|
|
|
deploy_script:
|
|
- IF "%APPVEYOR_REPO_TAG%" == "true" (npm run release)
|
|
- IF NOT "%APPVEYOR_REPO_TAG%" == "true" (echo 'Not tagged, skipping deploy')
|