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:
|
2017-10-19 23:01:08 +00:00
|
|
|
- .eslintcache
|
2017-05-05 01:58:53 +00:00
|
|
|
- node_modules
|
|
|
|
- '%USERPROFILE%\.electron'
|
2017-11-21 05:54:44 +00:00
|
|
|
- '%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
|
2017-10-10 03:40:31 +00:00
|
|
|
- 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
|
2017-01-30 08:35:07 +00:00
|
|
|
- ./script/test-appveyor.bat
|
2017-01-25 12:37:06 +00:00
|
|
|
|
2016-05-25 21:09:52 +00:00
|
|
|
on_success:
|
2017-10-10 03:37:59 +00:00
|
|
|
- yarn run publish
|
2017-01-30 08:35:07 +00:00
|
|
|
|
|
|
|
on_finish:
|
2017-10-10 00:21:03 +00:00
|
|
|
- yarn test:review
|