You develop an Android app and want to investigate the Travis CI build locally?!
Grab the latest travisci / travis-android container:
$ docker pull quay.io/travisci/travis-android
and enter into the TravisCI role:
$ docker run -it --rm quay.io/travisci/travis-android /bin/bash
Within that container you should be able to do whatever your TravisCI build does.
For more information see: