Tips those may help your Android project from failing test on CircleCI
As you may notice, in my previous blog entry , I mentioned CircleCI , one of many continuous integration services allowing your projects be built and tested automatically on predefined environments. In this post I will give some tips to increase the chance to run successfully and pass test on CircleCI . Background If you are not familiar with CircleCI , you may want to read this. There are something involved: - CircleCI needs a file named circle.yml put in the root directory of your project, in which you write commands to be executed on CircleCI. - In common, the process is like: CircleCI first created a virtual machine, then it pulls your code from your repository and sets up the environment, finally it runs the tests. Particularly, CircleCI starts an emulator in the virtual machine they creates (sounds VM in another VM, VM-ception), and uses the Gradle wrapper to run Gradle tasks for testing purpose. - Remember, the emulator on CircleCI is super-weak. - Have a