updated .cirrus.yml and .travis.yml

This commit is contained in:
Lorenzo Pichilli 2021-02-10 13:36:40 +01:00
parent d4be059fbb
commit f62d1eb98d
3 changed files with 3 additions and 5 deletions

View File

@ -48,7 +48,7 @@ task:
create_device_script: create_device_script:
echo no | avdmanager create avd --force -n test -k "system-images;android-$ANDROID_EMULATOR_API_LEVEL;$ANDROID_ABI" echo no | avdmanager create avd --force -n test -k "system-images;android-$ANDROID_EMULATOR_API_LEVEL;$ANDROID_ABI"
start_emulator_background_script: start_emulator_background_script:
$ANDROID_SDK_ROOT/emulator/emulator-headless -verbose -avd test -no-audio -no-window $ANDROID_SDK_ROOT/emulator/emulator -verbose -avd test -no-audio -no-window
pub_cache: pub_cache:
folder: ~/.pub-cache folder: ~/.pub-cache
wait_for_emulator_script: wait_for_emulator_script:

View File

@ -1,15 +1,13 @@
language: dart language: dart
install: install:
- source ~/.zprofile
- export HOMEBREW_NO_AUTO_UPDATE=1 - export HOMEBREW_NO_AUTO_UPDATE=1
- brew install node - brew install node
- brew install libimobiledevice ideviceinstaller ios-deploy - brew install libimobiledevice ideviceinstaller ios-deploy
- brew install cocoapods || echo 'ignore exit(1)' - brew install cocoapods || echo 'ignore exit(1)'
- brew link --overwrite cocoapods - brew link --overwrite cocoapods
- echo 'export FLUTTER_HOME=$HOME/flutter' >> ~/.zprofile - export FLUTTER_HOME=$HOME/flutter
- echo 'export PATH=$HOME/flutter:$HOME/flutter/bin/:$HOME/flutter/bin/cache/dart-sdk/bin:$PATH' >> ~/.zprofile - export PATH=$HOME/flutter:$HOME/flutter/bin/:$HOME/flutter/bin/cache/dart-sdk/bin:$PATH
- source ~/.zprofile
- git clone https://github.com/flutter/flutter.git $FLUTTER_HOME - git clone https://github.com/flutter/flutter.git $FLUTTER_HOME
- cd $FLUTTER_HOME - cd $FLUTTER_HOME
- git checkout beta - git checkout beta

0
scripts/android-wait-for-emulator.sh Normal file → Executable file
View File