Testing with jpm-mobile, travis-ci, and android emulators

45 views
Skip to first unread message

Erik Vold

unread,
Apr 15, 2015, 2:23:38 PM4/15/15
to mozilla-la...@googlegroups.com
Rocketeers!

Freaktechnik and I have been successful in running `jpm-mobile test` on Travis-CI with an android emulator.

Here are a couple of examples for now:

* https://github.com/erikvold/jpm-mobile-travis-example
* https://travis-ci.org/erikvold/jpm-mobile-travis-example
* https://github.com/freaktechnik/jetpack-homepanel
* https://travis-ci.org/freaktechnik/jetpack-homepanel

There is much to do still though!

First we need to write some scripts to download the latest versions of fennec.  Secondly, we need to polish the travis scripts to use caching for example.  Third, is that it looks like Fennec fails to start jetpack tests when it is loaded in an `emulator -no-window` instance, I think this is because our test framework depends on a open tab, which fennec does not do on its own in a `emulator -no-window` instance (which afaict it probably should do).

This is all very experimental, so be prepared!

At some point I would like to finally run our mobile addon-sdk tests on travis using this technique.

Regards,

Erik

Reply all
Reply to author
Forward
0 new messages