2017-10-27 01:04:16 +08:00
|
|
|
sudo: required
|
2017-10-27 01:33:15 +08:00
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
language: c
|
|
|
|
|
2017-10-27 01:04:16 +08:00
|
|
|
matrix:
|
|
|
|
include:
|
2019-01-02 21:15:43 +08:00
|
|
|
- name: "macOS"
|
|
|
|
os: osx
|
|
|
|
- name: "Windows 64"
|
|
|
|
os: windows
|
|
|
|
- name: "Windows 32"
|
|
|
|
os: windows
|
|
|
|
script: npm run dist32
|
|
|
|
- name: "Linux"
|
|
|
|
os: linux
|
2017-10-27 01:33:15 +08:00
|
|
|
env: CC=clang CXX=clang++ npm_config_clang=1
|
|
|
|
compiler: clang
|
|
|
|
|
2017-10-27 01:04:16 +08:00
|
|
|
node_js:
|
2019-01-02 20:46:34 +08:00
|
|
|
- 10
|
2017-10-27 01:33:15 +08:00
|
|
|
|
2017-10-27 01:04:16 +08:00
|
|
|
cache:
|
|
|
|
directories:
|
2017-10-27 01:33:15 +08:00
|
|
|
- node_modules
|
|
|
|
|
2017-10-27 01:04:16 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2017-10-27 01:38:24 +08:00
|
|
|
packages:
|
|
|
|
- g++-4.8
|
|
|
|
- icnsutils
|
|
|
|
- graphicsmagick
|
|
|
|
- libgnome-keyring-dev
|
|
|
|
- xz-utils
|
|
|
|
- xorriso
|
|
|
|
- xvfb
|
2017-10-27 01:33:15 +08:00
|
|
|
|
2017-10-27 01:04:16 +08:00
|
|
|
install:
|
2019-01-02 20:55:14 +08:00
|
|
|
- nvm install 10
|
2019-01-02 20:40:31 +08:00
|
|
|
- npm install electron-builder
|
2017-10-27 01:04:16 +08:00
|
|
|
- npm install
|
|
|
|
- export DISPLAY=':99.0'
|
2017-10-27 01:33:15 +08:00
|
|
|
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
2017-10-27 01:04:16 +08:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- export DISPLAY=:99.0
|
|
|
|
- sh -e /etc/init.d/xvfb start &
|
|
|
|
- sleep 3
|
|
|
|
|
|
|
|
script:
|
2017-10-27 01:33:15 +08:00
|
|
|
- npm run dist
|