{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1667","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1667/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1667/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1667/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1667","id":82652767,"number":1667,"title":"Add Android integration testing","user":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"5319e7"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/build","name":"build","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/6","html_url":"https://github.com/mapbox/mapbox-gl-native/milestones/Android%20Beta","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/6/labels","id":982241,"number":6,"title":"Android Beta","description":"","creator":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":27,"state":"open","created_at":"2015-02-17T02:38:50Z","updated_at":"2015-06-02T05:19:19Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-05-30T01:13:44Z","updated_at":"2015-06-02T14:16:09Z","closed_at":null,"body":"I am working on using [Calabash](https://github.com/calabash/calabash-android) to add integration testing for the Android test app to Travis. Hopefully this will prevent regression as we push on the Android beta.\r\n\r\nHowever it is tricky getting the Android emulator to work on Travis with OpenGL.\r\n\r\nI tried copying over the mesa install from the Linux builds but it does not seem to be enough.\r\n\r\nThe message I get from the emulator is \r\n\r\n```\r\nFailed to Initialize backend EGL display\r\nemulator: WARNING: Could not initialize OpenglES emulation, using software renderer.\r\n```\r\n\r\nWhich I think is the reason Calabash can't connect to the app later on (since the app would not be able to start?).\r\n\r\nMy current work is in https://github.com/mapbox/mapbox-gl-native/tree/android-testing\r\n\r\nIf it proves impossible to emulate Android on Travis then we might have to just use TestMunk - https://github.com/mapbox/mapbox-gl-native/issues/587 - which runs on a real device, but we would need to subscribe to one of their plans.\r\n\r\n@kkaefer Can you see anything I missed as far as installing Mesa on the Travis Android instance?"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/107970002","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1667#issuecomment-107970002","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1667","id":107970002,"user":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T14:16:09Z","updated_at":"2015-06-02T14:16:09Z","body":"> it is beginning to look like Travis is not suitable for testing OpenGL Android apps\r\n\r\nThat's good to learn.  Can you clarify if you mean as for UI testing or for general unit testing on a commit by commit basis? "}}