github-desktop/circle.yml
2018-03-27 11:03:12 +11:00

49 lines
946 B
YAML

experimental:
notify:
branches:
only:
- master
- /^__release-.*/
machine:
xcode:
version: 7.3
dependencies:
cache_directories:
- ".eslintcache"
- "node_modules"
- "~/.electron"
- "~/Library/Caches/Yarn/v1"
pre:
- brew update
# uninstall Node 6 which is shipped by default on Circle
- brew uninstall node
# install latest Node LTS (8.9.3 as of writing)
- brew install node@8 --force
# everything is terrible, but we must march on
- brew link --overwrite node@8 --force
# workaround for yarn installation issue
- curl -o- -L https://yarnpkg.com/install.sh | TERM=xterm bash
override:
- yarn install --force
compile:
override:
- yarn lint
- yarn build:prod
- yarn validate-changelog
test:
override:
- yarn test:setup
- yarn test
deployment:
production:
branch: /^__release-.*/
commands:
- yarn run publish