Use JDK Switcher to switch to OpenJDK8 in bionic image of Travis CI

This commit is contained in:
Varakh 2021-05-08 14:53:12 +02:00
parent 707520b44c
commit 79593bd288

View file

@ -8,6 +8,9 @@ addons:
env:
global:
- FLUTTER_CHANNEL=stable
- ANDROID_API_LEVEL=28
- ANDROID_BUILD_TOOLS_VERSION=28.0.3
- ANDROID_ABI=armeabi-v7a
install:
- git clone https://github.com/flutter/flutter.git -b $FLUTTER_CHANNEL
- export PATH=$(pwd)/flutter/bin:$PATH
@ -26,10 +29,11 @@ build: &build
language: android
android:
components:
- tools
- tools
- platform-tools
- build-tools-29
- android-29
- build-tools-28.0.3
- android-28
before_script:
- export BUILD_NAME=$TRAVIS_TAG
- export BUILD_NUMBER=$TRAVIS_BUILD_NUMBER