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