mattermost-desktop/circle.yml
2017-04-21 23:36:14 +09:00

28 lines
921 B
YAML

machine:
node:
version: 6.1.0
dependencies:
cache_directories:
- "src/node_modules"
post:
- 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 & wait
- sh -x ./scripts/cp_artifacts.sh release $CIRCLE_ARTIFACTS
test:
post:
- mv test-results.xml $CIRCLE_TEST_REPORTS/