Add .travis.yml file for Travis CI of Java project