2017-06-25 00:23:52 +08:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
2017-06-25 01:01:56 +08:00
|
|
|
env: BUILD_FOR=linux
|
2017-06-25 00:23:52 +08:00
|
|
|
- os: osx
|
2017-06-25 01:01:56 +08:00
|
|
|
env: BUILD_FOR=macos
|
2017-06-25 00:23:52 +08:00
|
|
|
|
2017-06-24 19:26:52 +08:00
|
|
|
language: node_js
|
2018-08-27 01:29:40 +08:00
|
|
|
node_js: 8
|
2017-06-24 19:26:52 +08:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
2017-06-24 19:27:26 +08:00
|
|
|
- app/node_modules
|
2017-06-24 19:26:52 +08:00
|
|
|
|
|
|
|
before_install:
|
2017-12-14 21:55:31 +08:00
|
|
|
- yarn install
|
2017-06-24 19:26:52 +08:00
|
|
|
- scripts/install-deps.js
|
|
|
|
|
|
|
|
script:
|
|
|
|
- scripts/build-native.js
|
2017-12-14 21:55:31 +08:00
|
|
|
- yarn run build
|
2017-06-24 19:26:52 +08:00
|
|
|
- scripts/prepackage-plugins.js
|
2017-06-25 00:23:52 +08:00
|
|
|
- scripts/build-$BUILD_FOR.js
|
2017-06-24 19:26:52 +08:00
|
|
|
|
2017-06-25 00:52:19 +08:00
|
|
|
dist: trusty
|
2017-06-24 19:26:52 +08:00
|
|
|
sudo: false
|
|
|
|
|
2017-06-24 20:27:56 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- rpm
|
2017-12-14 21:55:31 +08:00
|
|
|
- yarn
|
|
|
|
sources:
|
|
|
|
- sourceline: 'deb https://dl.yarnpkg.com/debian/ stable main'
|
|
|
|
key_url: 'https://dl.yarnpkg.com/debian/pubkey.gpg'
|