forked from mattermost/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
38 lines (33 loc) · 1.13 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:
node:
version: 6.11.3
dependencies:
cache_directories:
- "src/node_modules"
- ~/.cache/yarn
- ~/.cache/electron
- ~/.cache/electron-builder
override:
- yarn
post:
- if git status --short | grep yarn\.lock; then echo 'yarn.lock is not updated'; false; else true; fi
- sudo dpkg --add-architecture i386
- sudo add-apt-repository ppa:ubuntu-wine/ppa -y
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
- sudo apt-get update
- sudo apt-get install --no-install-recommends -y
icnsutils graphicsmagick xz-utils jq
wine1.8 mono-devel ca-certificates-mono
gcc-multilib g++-multilib
- unset DISPLAY && wineboot --init
- npm run build
- npm run package:windows
- npm run package:mac
- npm run package:linux
- sh -x ./scripts/cp_artifacts.sh release $CIRCLE_ARTIFACTS
test:
override:
- yarn test
post:
- mv test-results.xml $CIRCLE_TEST_REPORTS/