mirror of
https://github.com/desktop/desktop
synced 2024-10-31 11:59:53 +00:00
44 lines
662 B
YAML
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
|