From 6dcbe7d6773ac37ab00a0fdf57e3b320c34ad98d Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Thu, 8 Sep 2016 18:27:49 -0300 Subject: [PATCH] Added AppVeyor file --- appveyor.yml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..0e469b1e --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,50 @@ +version: 0.4.{build} +pull_requests: + do_not_increment_build_number: true +branches: + only: + - master +skip_non_tags: true +init: +- cmd: git config --global core.autocrlf input +install: +- cmd: >- + git reset --hard HEAD + + npm run sencha:clean + + git clone https://github.com/saenzramiro/rambox-build.git %APPVEYOR_BUILD_FOLDER%\build\production\Rambox\ + + npm install npm -g + + npm install + + npm --prefix %APPVEYOR_BUILD_FOLDER%\build\production\Rambox\ install %APPVEYOR_BUILD_FOLDER%\build\production\Rambox\ + + npm prune +cache: +- '%APPDATA%\npm-cache' +- '%USERPROFILE%\.electron' +- node_modules +- build\production\Rambox\node_modules +build_script: +- cmd: >- + node --version + + npm --version + + node_modules/.bin/build --win --x64 +test: off +artifacts: +- path: dist\win\*.exe +- path: dist\win\*.nupkg +- path: dist\win\RELEASES +- path: dist\*.zip +deploy: +- provider: GitHub + tag: $(appveyor_build_version) + release: $(appveyor_build_version) + auth_token: + secure: RKFkz2S89dkYXdW+k47Wv42yrUeE1bDDMkM1PNuxrb0ZOcVVXPO88+t5dUllyvOG + draft: true + prerelease: false \ No newline at end of file