MOBILE-3654 travis: Add iOS builds

main
Pau Ferrer Ocaña 2021-03-18 14:04:16 +01:00
parent 28bf4243bc
commit 0396d5670d
1 changed files with 21 additions and 11 deletions

View File

@ -1,6 +1,5 @@
os: linux os: linux
dist: trusty dist: trusty
language: android
node_js: 12 node_js: 12
if: env(DEPLOY) = 1 if: env(DEPLOY) = 1
@ -8,16 +7,6 @@ if: env(DEPLOY) = 1
git: git:
depth: 3 depth: 3
android:
components:
- tools
- platform-tools
- build-tools-29.0.3
- android-28
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
before_cache: before_cache:
- rm -rf $HOME/.cache/electron-builder/wine - rm -rf $HOME/.cache/electron-builder/wine
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
@ -46,3 +35,24 @@ before_script:
script: script:
- scripts/build.sh - scripts/build.sh
jobs:
include:
- stage: build
name: "Build Android"
language: android
android:
components:
- tools
- platform-tools
- build-tools-29.0.3
- android-28
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- stage: build
name: "Build iOS"
language: node_js
if: env(DEPLOY) = 1 AND env(BUILD_IOS) = 1
os: osx
osx_image: xcode12.4