aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-12-30 17:07:57 -0500
committerGitHub <noreply@github.com>2018-12-30 17:07:57 -0500
commitab349293e52d77f6fc4b44446e19dc80aa8e789f (patch)
tree3fa9743571bbdc2cdd0987944fdad72fa233fae4 /.travis.yml
parent3aa909f055c24d3700fa02f80c88e77a0c096f6e (diff)
downloadkau-ab349293e52d77f6fc4b44446e19dc80aa8e789f.tar.gz
kau-ab349293e52d77f6fc4b44446e19dc80aa8e789f.tar.bz2
kau-ab349293e52d77f6fc4b44446e19dc80aa8e789f.zip
Emulator tests (#183)
* Add connected check * Delete flyweight * Add skin tag * Try emulator api 22 * Try emulator api 19 * Remove emulator tests for now. Too flaky
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 9 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 721eb72..ee679b3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,20 +4,20 @@ jdk:
env:
global:
- ANDROID_API=28
- - EMULATOR_API=24
+ - EMULATOR_API=19
- ANDROID_BUILD_TOOLS=28.0.3
android:
components:
- tools
-# - android-$EMULATOR_API
- platform-tools
- tools
- build-tools-$ANDROID_BUILD_TOOLS
- android-$ANDROID_API
- - extra-android-support
+# - android-$EMULATOR_API
- extra-android-m2repository
- extra-google-m2repository
-# - sys-img-armeabi-v7a-android-$EMULATOR_API
+# - sys-img-armeabi-v7a-addon-google_apis-google-$ANDROID_API_LEVEL
+# - sys-img-armeabi-v7a-addon-google_apis-google-$EMULATOR_API_LEVEL
licenses:
- ".+"
#before_script:
@@ -25,8 +25,11 @@ android:
#- echo "y" | android update sdk -a --no-ui --filter sys-img-armeabi-v7a-android-$EMULATOR_API
#- android list targets | grep -E '^id:' | awk -F '"' '{$1=""; print $2}' # list all targets
#- echo no | android create avd --force -n test -t android-$EMULATOR_API --abi armeabi-v7a
-#- emulator -avd test -no-skin -no-window &
+#- emulator -avd test -skin -no-audio -no-window &
#- android-wait-for-emulator
+#- adb shell settings put global window_animation_scale 0 &
+#- adb shell settings put global transition_animation_scale 0 &
+#- adb shell settings put global animator_duration_scale 0 &
#- adb shell input keyevent 82 &
script:
- chmod +x gradlew
@@ -50,7 +53,7 @@ cache:
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
before_install:
-- yes | sdkmanager "platforms;android-28"
+- yes | sdkmanager "platforms;android-$ANDROID_API"
- openssl aes-256-cbc -K $encrypted_12e8842891a3_key -iv $encrypted_12e8842891a3_iv
-in files/kau.tar.enc -out kau.tar -d
- tar xvf kau.tar \ No newline at end of file