From 707520b44cf4554dcd3d96bf05372ea774df1841 Mon Sep 17 00:00:00 2001 From: Varakh Date: Sat, 8 May 2021 14:42:22 +0200 Subject: [PATCH] Use JDK Switcher to switch to OpenJDK8 in bionic image of Travis CI --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index bc246c7..b9c5409 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ env: global: - FLUTTER_CHANNEL=stable install: - - git clone https://github.com/flutter/flutter.git -b $FLUTTER_CHANNEL --depth 1 + - git clone https://github.com/flutter/flutter.git -b $FLUTTER_CHANNEL - export PATH=$(pwd)/flutter/bin:$PATH - export PATH=$(pwd)/flutter/bin/cache/dart-sdk/bin:$PATH - flutter doctor -v @@ -27,10 +27,8 @@ build: &build android: components: - tools - - tools # See (https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943) - platform-tools - - build-tools-28.0.3 - - android-27 # Breaks the build if not present (https://github.com/flutter/flutter/pull/26798#issuecomment-455758159) + - build-tools-29 - android-29 before_script: - export BUILD_NAME=$TRAVIS_TAG