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

This commit is contained in:
Varakh 2021-05-08 14:34:31 +02:00
parent 4fdcf54dc0
commit 57a502f0c3

View file

@ -36,6 +36,7 @@ build: &build
- export BUILD_NAME=$TRAVIS_TAG
- export BUILD_NUMBER=$TRAVIS_BUILD_NUMBER
script:
- jdk_switcher use openjdk8
- if [[ $TRAVIS_TAG == "" ]]; then flutter build apk; else flutter build apk --build-name $BUILD_NAME --build-number $BUILD_NUMBER; fi
jobs: