From 0396d5670d50201b940b1bf81d121ea2feda5ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 18 Mar 2021 14:04:16 +0100 Subject: [PATCH] MOBILE-3654 travis: Add iOS builds --- .travis.yml | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2c4332569..499152424 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ os: linux dist: trusty -language: android node_js: 12 if: env(DEPLOY) = 1 @@ -8,16 +7,6 @@ if: env(DEPLOY) = 1 git: 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: - rm -rf $HOME/.cache/electron-builder/wine - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock @@ -46,3 +35,24 @@ before_script: script: - 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