MOBILE-3654 travis: Add iOS builds
parent
28bf4243bc
commit
0396d5670d
32
.travis.yml
32
.travis.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue