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.

41 lines
717 B

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