From 2d5e4477b8940fae2e40c0d678c218b39fc5d00f Mon Sep 17 00:00:00 2001 From: Eugene Date: Wed, 24 Jul 2019 12:25:06 +0200 Subject: [PATCH] Travis (#1303) * . * script --- .travis.yml | 15 +-------------- build/travis.sh | 12 ++++++++++++ 2 files changed, 13 insertions(+), 14 deletions(-) create mode 100755 build/travis.sh diff --git a/.travis.yml b/.travis.yml index 57da494c..aff02292 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,20 +11,7 @@ jobs: include: - stage: 'Build' os: osx - before_install: - - set -e - - yarn - - rm app/node_modules/.yarn-integrity - - cd app - - yarn - - cd .. - script: - - set -e - - scripts/build-native.js - - yarn run build:typings - - yarn run build - - scripts/prepackage-plugins.js - - travis_wait scripts/build-macos.js + script: ./build/travis.sh - stage: 'Docs' os: linux diff --git a/build/travis.sh b/build/travis.sh new file mode 100755 index 00000000..607d0c34 --- /dev/null +++ b/build/travis.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -e +yarn +rm app/node_modules/.yarn-integrity +cd app +yarn +cd .. +scripts/build-native.js +yarn run build:typings +yarn run build +scripts/prepackage-plugins.js +travis_wait scripts/build-macos.js