github-desktop/appveyor.yml

43 lines
606 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-04-18 15:16:21 +00:00
nodejs_version: "7"
2016-05-11 16:16:32 +00:00
2016-09-28 19:21:02 +00:00
cache:
2017-05-05 01:58:53 +00:00
- node_modules
- '%USERPROFILE%\.electron'
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-04-18 15:24:05 +00:00
- ps: Install-Product node $env:nodejs_version $env:platform
2017-09-26 00:45:57 +00:00
- npm install -g yarn@1.1.0
2016-06-27 04:27:05 +00:00
- git submodule update --init --recursive
2017-09-26 00:21:48 +00:00
- yarn
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 check-prettiness
- 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