[travis-ci] Speed up android build.
Merge pull request #2870 from dumganhar/master

[travis-ci] Speed up android build. [master]