fix path for sdk-tools

This commit is contained in:
Felix 2017-10-12 23:14:28 +02:00
parent 30a66e6a18
commit 56f3706b46

View file

@ -47,9 +47,9 @@ functionalTests:
- env - env
- curl -s https://raw.githubusercontent.com/travis-ci/travis-cookbooks/0f497eb71291b52a703143c5cd63a217c8766dc9/community-cookbooks/android-sdk/files/default/android-wait-for-emulator > android-wait-for-emulator - curl -s https://raw.githubusercontent.com/travis-ci/travis-cookbooks/0f497eb71291b52a703143c5cd63a217c8766dc9/community-cookbooks/android-sdk/files/default/android-wait-for-emulator > android-wait-for-emulator
- chmod +x android-wait-for-emulator - chmod +x android-wait-for-emulator
- echo y | tools/bin/sdkmanager "system-images;android-$ANDROID_COMPILE_SDK;google_apis;x86" - echo y | $ANDROID_HOME/tools/bin/sdkmanager "system-images;android-$ANDROID_COMPILE_SDK;google_apis;x86"
- echo no | tools/bin/avdmanager create avd -n test -k "system-images;android-$ANDROID_COMPILE_SDK;google_apis;x86" --abi google_apis/x86 - echo no | $ANDROID_HOME/tools/bin/avdmanager create avd -n test -k "system-images;android-$ANDROID_COMPILE_SDK;google_apis;x86" --abi google_apis/x86
- tools/emulator -force-32bit -avd test -no-window -no-audio & - $ANDROID_HOME/tools/emulator -force-32bit -avd test -no-window -no-audio &
- ./android-wait-for-emulator - ./android-wait-for-emulator
- adb shell input keyevent 82 - adb shell input keyevent 82
- ./gradlew --debug --stacktrace cAT - ./gradlew --debug --stacktrace cAT