github-desktop/appveyor.yml
2018-03-27 11:03:12 +11:00

45 lines
701 B
YAML

os: Visual Studio 2015
platform:
- x64
environment:
nodejs_version: "8.9.0"
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 build:prod
- yarn validate-changelog
test_script:
- node --version
- yarn test:setup
- ./script/test-appveyor.bat
on_success:
- yarn run publish
on_finish:
- yarn test:review