From 6146fda51c23988816f4bededbbf5831d5c89321 Mon Sep 17 00:00:00 2001 From: Mattia Iavarone Date: Thu, 5 Dec 2019 18:39:30 +0100 Subject: [PATCH] More changes --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 87b01178..36daa289 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,13 +33,14 @@ install: # Install the emulator tools - export EMULATOR="system-images;android-$EMULATOR_API;$EMULATOR_TAG;$EMULATOR_ABI" - export EMULATOR_NAME="cameraview-$EMULATOR_API" + - echo 'count=0' > $ANDROID_HOME/repositories.cfg # avoid harmless sdkmanager warning - echo y | sdkmanager "platforms;android-$EMULATOR_API" >/dev/null # Install sdk for the emulator - echo y | sdkmanager "$EMULATOR" >/dev/null # Install system image - sdkmanager --list || true # Check everything is updated # Create and start the emulator - echo no | avdmanager create avd --force --name $EMULATOR_NAME --package "$EMULATOR" # Create emulator virtual device - - emulator -avd $EMULATOR_NAME -no-snapshot -no-window -no-accel -no-snapshot -camera-back emulated -camera-front emulated -memory 2048 -writable-system & # Launch + - emulator -avd $EMULATOR_NAME -no-snapshot -no-window -no-boot-anim -selinux permissive -camera-back emulated -camera-front emulated -memory 2048 -writable-system & # Launch # Wait for emulator - adb wait-for-device # Wait for adb process