Build android after all other build.

Because we need the android_<arch> build to be done before.
This commit is contained in:
Matthieu Gautier 2019-05-02 18:22:13 +02:00
parent 39d05d1b03
commit 556095f893
1 changed files with 6 additions and 4 deletions

View File

@ -12,7 +12,8 @@ if: type != push OR tag IS present
stages:
- build_docker_images
- test
- build
- android_build
jobs:
include:
@ -33,8 +34,9 @@ jobs:
- stage: build_docker_images
script: *build_images
env: VARIANT=appimage
- stage: test
env: PLATFORM="native_dyn"
- stage: android_build
env: PLATFORM="android"
- env: PLATFORM="native_dyn"
os: osx
- env: PLATFORM="iOS_arm64"
os: osx
@ -63,6 +65,7 @@ cache:
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
install: if [[ $TRAVIS_OS_NAME != "linux" ]]; then travis/install_extra_deps.sh; fi
stage: build
script:
- |
if [[ $TRAVIS_OS_NAME = "linux" ]]
@ -117,7 +120,6 @@ env:
- PLATFORM="i586_static"
- PLATFORM="native_dyn" DESKTOP_ONLY=1
- PLATFORM="flatpak" DESKTOP_ONLY=1
- PLATFORM="android"
- PLATFORM="android_arm"
- PLATFORM="android_arm64"
- PLATFORM="android_x86"