[travis] Enable caching for Maven repository

http://docs.travis-ci.com/user/caching/