forked from desktop/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
44 lines (37 loc) · 870 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
experimental:
notify:
branches:
only:
- master
- /^__release-.*/
machine:
xcode:
version: 7.3
dependencies:
cache_directories:
- ".eslintcache"
- "node_modules"
- "~/.electron"
pre:
# NOTE: there's an outstanding issue with Circle if you try and install
# a specific version of node. There's no output, but hopefully
# support will notice and investigate. So for now, we're going to
# keep an eye on this and ensure it's running the latest 8.x release
- brew update
- brew install node@8.9.0
- npm install -g yarn@1.3.2
override:
- yarn install --force
compile:
override:
- yarn lint
- yarn build:prod
test:
override:
- yarn test:setup
- yarn test
deployment:
production:
branch: /^__release-.*/
commands:
- yarn run publish