Add travis-ci to the project.

http://docs.travis-ci.com/user/languages/java/