From 9ec215cbf41f4bd01ec40cd53328d95459471ccc Mon Sep 17 00:00:00 2001 From: Varakh Date: Sat, 8 May 2021 15:00:02 +0200 Subject: [PATCH] For now disable building APK with Travis CI --- .travis.yml | 39 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/.travis.yml b/.travis.yml index cc3197d..b6a551a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,6 @@ 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 @@ -24,28 +21,28 @@ static_analysis: &static_analysis name: "Static analysis" script: flutter analyze --no-current-package $TRAVIS_BUILD_DIR/lib -build: &build - name: "Build APK" - language: android - android: - components: - - tools - - tools - - platform-tools - - build-tools-28.0.3 - - android-28 - before_script: - - 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 +#build: &build +# name: "Build APK" +# language: android +# android: +# components: +# - tools +# - tools +# - platform-tools +# - build-tools-28.0.3 +# - android-28 +# before_script: +# - 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: include: - <<: *static_analysis - - stage: build - <<: *build +# - stage: build +# <<: *build cache: directories: - $HOME/.pub-cache \ No newline at end of file