Use JDK Switcher to switch to OpenJDK8 in bionic image of Travis CI
This commit is contained in:
parent
4fdcf54dc0
commit
57a502f0c3
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ build: &build
|
||||||
- export BUILD_NAME=$TRAVIS_TAG
|
- export BUILD_NAME=$TRAVIS_TAG
|
||||||
- export BUILD_NUMBER=$TRAVIS_BUILD_NUMBER
|
- export BUILD_NUMBER=$TRAVIS_BUILD_NUMBER
|
||||||
script:
|
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
|
- if [[ $TRAVIS_TAG == "" ]]; then flutter build apk; else flutter build apk --build-name $BUILD_NAME --build-number $BUILD_NUMBER; fi
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
Loading…
Reference in a new issue