Add appveyor support (#75)

* Add appveyor build badge
This commit is contained in:
Thomas Nordquist
2019-02-26 23:43:53 +01:00
committed by GitHub
parent 63530a41ac
commit 874cedb422
7 changed files with 130 additions and 30 deletions

32
appveyor.yml Normal file
View File

@@ -0,0 +1,32 @@
image: Visual Studio 2017
platform: x64
cache:
- node_modules
- '%LOCALAPPDATA%\electron\Cache'
- '%LOCALAPPDATA%\electron-builder\cache'
install:
- ps: Install-Product node 10
build_script:
- yarn
- yarn build
test_script:
- yarn test
before_deploy:
- yarn prepare-release
- yarn package appx
deploy:
- provider: Environment
name: production
on:
branch: master # only this will work
APPVEYOR_REPO_TAG: true # condition will never be evaluated
artifacts:
- path: 'build\clean\build\MQTT-Explorer*.appx'