github-desktop/appveyor.yml
2018-07-18 06:42:46 -04:00

45 lines
700 B
YAML

os: Visual Studio 2015
platform:
- x64
environment:
nodejs_version: '8.11'
cache:
- .eslintcache
- node_modules
- '%USERPROFILE%\.electron'
- '%LOCALAPPDATA%\Yarn'
branches:
only:
- master
- /^__release-.*/
skip_tags: true
version: '{build}'
install:
- cmd: regedit /s script\default-to-tls12-on-appveyor.reg
- ps: Install-Product node $env:nodejs_version $env:platform
- git submodule update --init --recursive
- yarn install --force
build_script:
- yarn lint
- yarn validate-changelog
- yarn build:prod
test_script:
- node --version
- yarn test:setup
- ./script/test-appveyor.bat
on_success:
- yarn run publish
on_finish:
- yarn test:review