github-desktop/appveyor.yml
2017-05-31 11:55:14 -03:00

44 lines
662 B
YAML

os: Visual Studio 2015
platform:
- x64
environment:
nodejs_version: "7"
cache:
- node_modules
- '%USERPROFILE%\.electron'
branches:
only:
- master
- /^__release-.*/
skip_tags: true
version: "{build}"
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install -g npm@4.6.1
- git submodule update --init --recursive
- npm prune
- cd app && npm prune && cd ..
- npm install
build_script:
- npm run lint
- npm run build:prod
test_script:
- node --version
- npm --version
- npm run test:setup
- ./script/test-appveyor.bat
on_success:
- npm run publish
on_finish:
- npm run test:review