Ho can I setup Appium for circleci?
my current circle.yml:
machine:
node:
version: 6.3.0
dependencies:
override:
- gem install bundler
- npm install -g appium
- ./gradlew dependencies
test:
pre:
- emulator -avd circleci-android23 -no-audio -no-window:
background: true
parallel: true
- circle-android wait-for-boot
override:
- appium:
background: true
- sleep 5
- ./gradlew assembleRelease
- ./gradlew test
- ./gradlew connectedAndroidTest
- cd test && bundle install && cd ../..
- for file in test/*.rb; do ruby "$file"; done
But all I get is this error:
[MJSONWP] Encountered internal error running command: Error: Error executing adbExec. Original error: Command '/usr/local/android-sdk-linux/platform-tools/adb -P 5037 -s emulator-5554 install /opt/circleci/nodejs/v6.3.0/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-android-ime/bin/UnicodeIME-debug.apk' timed out after 60000ms{"stdout":"[100%] /data/local/tmp/UnicodeIME-debug.apk\n\tpkg: /data/local/tmp/UnicodeIME-debug.apk\r\n","stderr":"","code":null}
at ADB.execFunc$ (lib/tools/system-calls.js:189:13)
at tryCatch (/opt/circleci/nodejs/v6.3.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/opt/circleci/nodejs/v6.3.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/opt/circleci/nodejs/v6.3.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/opt/circleci/nodejs/v6.3.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)