mirror of
https://github.com/desktop/desktop
synced 2024-11-05 20:49:32 +00:00
47 lines
719 B
YAML
47 lines
719 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
|
|
- npm ls
|
|
- npm ls --dev
|
|
|
|
build_script:
|
|
- npm run check-prettiness
|
|
- 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
|