From 9faabea96bf881573128a0c4f498a98874512526 Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Wed, 10 Feb 2021 10:59:22 +0100 Subject: [PATCH] updated .cirrus.yml --- .cirrus.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 50672854..85d779a6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -37,15 +37,17 @@ task: #CHANNEL: "dev" #CHANNEL: "beta" #CHANNEL: "stable" - script: + create_avd_script: - mkdir -p .android && touch ~/.android/repositories.cfg - sdkmanager --list - sdkmanager "platform-tools" "system-images;android-30;google_apis;x86" - (yes || true) | sdkmanager --licenses - echo "no" | avdmanager create avd --force -n Flutter-Android -k "system-images;android-30;google_apis;x86" - - echo "no" + start_emulator_background_script: - emulator -avd Flutter-Android -no-audio -no-window + wait_for_emulator_script: - adb wait-for-device - adb shell input keyevent 82 + script: - flutter channel $CHANNEL - ./test.sh $(ipconfig getifaddr en0)