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.

40 lines
719 B

7 years ago
os: unstable
environment:
DEBUG: electron-builder
7 years ago
matrix:
- nodejs_version: STABLE
publish_build: true
- nodejs_version: LTS
7 years ago
cache:
- '%APPDATA%\npm-cache'
7 years ago
- "%LOCALAPPDATA%/Yarn"
- node_modules -> package.json
- flow-typed
7 years ago
- 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 }