forked from docker/kitematic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
38 lines (35 loc) · 1.24 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
37
38
machine:
xcode:
version: "7.0"
dependencies:
override:
- brew update
- brew unlink node
- brew install node@4
- brew link node@4 --force
- brew install --ignore-dependencies https://raw.githubusercontent.com/Homebrew/homebrew-core/7e34b4761ca203b8b03e88ee6c14aabbf83db82a/Formula/wine.rb
- brew install github-release
- brew install mono
- brew install fakeroot
- brew install dpkg
- brew cleanup -s
- npm install
cache_directories:
- "node_modules"
- "~/.electron"
test:
override:
- npm test
- npm run integration
post:
- make 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