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
717 B

os: unstable
environment:
DEBUG: electron-builder
NODE_ENV: test
matrix:
- nodejs_version: STABLE
publish_build: true
- nodejs_version: LTS
cache:
- node_modules -> package.json
- app/node_modules -> app/package.json
- flow-typed
matrix:
fast_finish: true
build: off
version: '{build}'
shallow_clone: true
clone_depth: 1
skip_branch_with_pr: true
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 --win }