updated .cirrus.yml

This commit is contained in:
Lorenzo Pichilli 2021-02-10 10:59:22 +01:00
parent 2a8d18dab3
commit 9faabea96b
1 changed files with 4 additions and 2 deletions

View File

@ -37,15 +37,17 @@ task:
#CHANNEL: "dev" #CHANNEL: "dev"
#CHANNEL: "beta" #CHANNEL: "beta"
#CHANNEL: "stable" #CHANNEL: "stable"
script: create_avd_script:
- mkdir -p .android && touch ~/.android/repositories.cfg - mkdir -p .android && touch ~/.android/repositories.cfg
- sdkmanager --list - sdkmanager --list
- sdkmanager "platform-tools" "system-images;android-30;google_apis;x86" - sdkmanager "platform-tools" "system-images;android-30;google_apis;x86"
- (yes || true) | sdkmanager --licenses - (yes || true) | sdkmanager --licenses
- echo "no" | avdmanager create avd --force -n Flutter-Android -k "system-images;android-30;google_apis;x86" - 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 - emulator -avd Flutter-Android -no-audio -no-window
wait_for_emulator_script:
- adb wait-for-device - adb wait-for-device
- adb shell input keyevent 82 - adb shell input keyevent 82
script:
- flutter channel $CHANNEL - flutter channel $CHANNEL
- ./test.sh $(ipconfig getifaddr en0) - ./test.sh $(ipconfig getifaddr en0)