简体   繁体   中英

Travis CI still failing with Espresso test - Android

I've got my travis CI set up with espresso instrumental testing for my android library but some test fail on Travis CI while on my local machine (emulator and physical device) everything is okay and all test are passed..

I don't understand why on the server side someone fail, while on the local machine in my ide, with the same script command everything is okay.

Can someone help me out?

Thanks

Instrumented UI tests using Espresso Testing Framework depend on the emulator that you created.

We normally use Android Studio locally, and a different one in CI build servers.

The chosen server is not the reason of the failure, probably the screen size of the emulator .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM