github-desktop/appveyor.yml

44 lines
673 B
YAML
Raw Normal View History

2016-08-10 15:11:32 +00:00
os: Visual Studio 2015
2016-09-28 19:03:48 +00:00
platform:
- x64
2016-05-11 16:16:32 +00:00
environment:
2017-11-07 04:08:03 +00:00
nodejs_version: "8.9.0"
2016-05-11 16:16:32 +00:00
2016-09-28 19:21:02 +00:00
cache:
- .eslintcache
2017-05-05 01:58:53 +00:00
- node_modules
- '%USERPROFILE%\.electron'
- '%LOCALAPPDATA%\Yarn'
2016-09-28 19:21:02 +00:00
2016-05-11 16:16:32 +00:00
branches:
only:
- master
2016-05-26 17:53:22 +00:00
- /^__release-.*/
2016-05-11 16:16:32 +00:00
skip_tags: true
version: "{build}"
install:
2017-11-16 21:07:53 +00:00
- cmd: regedit /s script\default-to-tls12-on-appveyor.reg
2017-04-18 15:24:05 +00:00
- ps: Install-Product node $env:nodejs_version $env:platform
2016-06-27 04:27:05 +00:00
- git submodule update --init --recursive
- yarn install --force
2016-05-11 16:16:32 +00:00
2016-05-11 19:27:49 +00:00
build_script:
2017-10-10 00:21:03 +00:00
- yarn lint
- yarn build:prod
2016-05-11 19:26:54 +00:00
2016-09-28 18:38:41 +00:00
test_script:
2017-04-18 15:10:41 +00:00
- node --version
2017-10-10 00:21:03 +00:00
- yarn test:setup
- ./script/test-appveyor.bat
2017-01-25 12:37:06 +00:00
on_success:
- yarn run publish
on_finish:
2017-10-10 00:21:03 +00:00
- yarn test:review