Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis: Run with Google Play Services for Voice Recognition
Getting the Voice recognition running is only possible, if at least one handler handles the RecognitionService.SERVICE_INTERFACE intent. The easiest way to achive this is to run the instrumented test on an emulator which actually has the Google Play services installed. This commit changes the travis-ci configuration so that the emulator started has the Play services installed. It also adds some extras, which are already pre-installed, but accoridng to the travis documentation[1] should be explicitly mentioned to ensure build stability. However, for the current build they don't change anything. The extras are namely: extra-android-support extra-google-google_play_services extra-google-m2repository extra-android-m2repository For some reason, also the -no-audio switch does not work anymore, however, currently there's no need to completely disable audio in our build and test. [1] https://docs.travis-ci.com/user/languages/android/#Pre-installed-components Signed-off-by: Florian <[email protected]>
- Loading branch information