2015-12-12 04:43:13 -08:00
|
|
|
machine:
|
|
|
|
node:
|
2017-09-06 05:05:17 -07:00
|
|
|
version: 6.11.3
|
2015-12-12 04:43:13 -08:00
|
|
|
|
2015-10-24 04:28:30 -07:00
|
|
|
dependencies:
|
2016-02-12 06:42:40 -08:00
|
|
|
cache_directories:
|
2016-02-13 04:25:36 -08:00
|
|
|
- "src/node_modules"
|
2017-09-06 04:48:25 -07:00
|
|
|
- ~/.cache/yarn
|
2017-11-05 08:21:18 -08:00
|
|
|
- ~/.cache/electron
|
|
|
|
- ~/.cache/electron-builder
|
2017-09-06 04:48:25 -07:00
|
|
|
override:
|
|
|
|
- yarn
|
2015-10-24 04:28:30 -07:00
|
|
|
post:
|
2017-09-21 06:00:53 -07:00
|
|
|
- if git status --short | grep yarn\.lock; then echo 'yarn.lock is not updated'; false; else true; fi
|
|
|
|
|
2016-09-17 08:52:50 -07:00
|
|
|
- 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
|
2017-04-21 05:59:39 -07:00
|
|
|
- sudo apt-get install --no-install-recommends -y
|
|
|
|
icnsutils graphicsmagick xz-utils jq
|
|
|
|
wine1.8 mono-devel ca-certificates-mono
|
|
|
|
gcc-multilib g++-multilib
|
2016-09-17 08:52:50 -07:00
|
|
|
- unset DISPLAY && wineboot --init
|
|
|
|
|
2017-03-06 07:02:46 -08:00
|
|
|
- npm run build
|
2017-09-22 07:19:12 -07:00
|
|
|
- npm run package:windows
|
|
|
|
- npm run package:mac
|
|
|
|
- npm run package:linux
|
2016-09-23 06:44:22 -07:00
|
|
|
- sh -x ./scripts/cp_artifacts.sh release $CIRCLE_ARTIFACTS
|
2015-10-24 04:28:30 -07:00
|
|
|
|
2015-12-23 05:04:21 -08:00
|
|
|
test:
|
2017-09-06 04:48:25 -07:00
|
|
|
override:
|
|
|
|
- yarn test
|
2015-12-23 05:04:21 -08:00
|
|
|
post:
|
|
|
|
- mv test-results.xml $CIRCLE_TEST_REPORTS/
|