github-desktop/appveyor.yml
2017-11-21 18:04:58 +11:00

44 lines
673 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
test_script:
- node --version
- yarn test:setup
- ./script/test-appveyor.bat
on_success:
- yarn run publish
on_finish:
- yarn test:review