github-desktop/appveyor.yml

46 lines
723 B
YAML
Raw Normal View History

2016-08-10 15:11:32 +00:00
os: Visual Studio 2015
2016-09-28 19:03:48 +00:00
platform:
- x64
2016-05-11 16:16:32 +00:00
environment:
2017-04-18 15:16:21 +00:00
nodejs_version: "7"
2016-05-11 16:16:32 +00:00
2016-09-28 19:21:02 +00:00
cache:
2016-09-28 19:25:35 +00:00
- node_modules -> appveyor.yml
2016-09-28 19:28:08 +00:00
- '%USERPROFILE%\.electron -> appveyor.yml'
2016-09-28 19:21:02 +00:00
2016-05-11 16:16:32 +00:00
branches:
only:
- master
2016-05-26 17:53:22 +00:00
- /^__release-.*/
2016-05-11 16:16:32 +00:00
skip_tags: true
version: "{build}"
install:
2017-04-18 15:21:03 +00:00
- ps: Get-Childitem -Path Env:* | Sort-Object Name
2017-04-18 15:18:13 +00:00
- ps: Install-Product node 7 $env:platform
2016-08-10 15:17:23 +00:00
- npm install -g npm
2016-06-27 04:27:05 +00:00
- git submodule update --init --recursive
- npm prune
- cd app && npm prune && cd ..
2016-05-11 16:16:32 +00:00
- npm install
2016-05-11 19:27:49 +00:00
build_script:
2016-05-11 19:26:54 +00:00
- npm run lint
2016-05-25 15:12:13 +00:00
- npm run build:prod
2016-05-11 19:26:54 +00:00
2016-09-28 18:38:41 +00:00
test_script:
2017-04-18 15:10:41 +00:00
- node --version
- npm --version
2017-01-25 12:37:06 +00:00
- npm run test:setup
- ./script/test-appveyor.bat
2017-01-25 12:37:06 +00:00
on_success:
2016-09-28 16:17:33 +00:00
- npm run publish
on_finish:
- npm run test:review