You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
719 B
39 lines
719 B
os: unstable
|
|
|
|
environment:
|
|
DEBUG: electron-builder
|
|
matrix:
|
|
- nodejs_version: STABLE
|
|
publish_build: true
|
|
- nodejs_version: LTS
|
|
|
|
cache:
|
|
- '%APPDATA%\npm-cache'
|
|
- "%LOCALAPPDATA%/Yarn"
|
|
- node_modules -> package.json
|
|
- flow-typed
|
|
- app/node_modules -> app/package.json
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
|
|
build: off
|
|
|
|
version: '{build}'
|
|
|
|
shallow_clone: true
|
|
|
|
clone_depth: 1
|
|
|
|
install:
|
|
- ps: Install-Product node $env:nodejs_version
|
|
- set CI=true
|
|
- yarn
|
|
|
|
test_script:
|
|
- yarn lint-ci
|
|
- yarn build
|
|
- yarn test-ci
|
|
|
|
deploy_script:
|
|
- cmd: powershell if (($env:appveyor_repo_name -eq 'LN-Zap/zap-desktop') -and ($env:appveyor_repo_branch -eq 'master') -and ($env:publish_build)) { yarn release }
|
|
|