hyper/circle.yml
Benjamin Staneck 6d61ac400c Electron 1.8 is out (#2663)
* update electron to 1.8.2

release notes: https://github.com/electron/electron/releases/tag/v1.8.2

* change yarn installation on travis

travis detects yarn lockfiles and automatically uses yarn in that case so no need to install it

* yarn is preinstalled on circleci
2018-02-12 22:18:29 +01:00

34 lines
589 B
YAML

machine:
xcode:
version: "9.0"
pre:
- mkdir ~/.yarn-cache
dependencies:
pre:
- yarn config set cache-folder ~/.yarn-cache
cache_directories:
- ~/.yarn-cache
override:
- yarn
checkout:
post:
- if [[ "$CIRCLE_BRANCH" == "canary" ]]; then cp build/canary.icns build/icon.icns; fi
test:
override:
- yarn test
deployment:
artifacts:
branch: /^(?!master$).*$/
owner: zeit
commands:
- yarn run dist -- -p 'never'
- cp dist/*.zip $CIRCLE_ARTIFACTS
release:
tag: /.*/
owner: zeit
commands:
- yarn run dist