forked from docker/kitematic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
36 lines (33 loc) · 1.09 KB
/
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
machine:
xcode:
version: "7.0"
dependencies:
override:
- brew unlink node
- brew install node@4
- brew link node@4 --force
- brew install --ignore-dependencies wine
- brew install github-release
- brew install mono
- brew install fakeroot
- brew install dpkg
- npm install
cache_directories:
- "node_modules"
- "~/.electron"
test:
override:
- npm test
- npm run integration
post:
- npm run release:
timeout: 12000
- cp release/* $CIRCLE_ARTIFACTS/
deployment:
release:
tag: /v.*/
owner: docker
commands:
- github-release upload --user docker --repo kitematic --tag $CIRCLE_TAG --file release/Kitematic-Mac.zip --name Kitematic-$(echo $CIRCLE_TAG | cut -c2-)-Mac.zip
- github-release upload --user docker --repo kitematic --tag $CIRCLE_TAG --file release/Kitematic-Windows.zip --name Kitematic-$(echo $CIRCLE_TAG | cut -c2-)-Windows.zip
- github-release upload --user docker --repo kitematic --tag $CIRCLE_TAG --file release/Kitematic-Ubuntu.zip --name Kitematic-$(echo $CIRCLE_TAG | cut -c2-)-Ubuntu.zip