Add Travis-CI config

Configure it as a Java project. Travis will run the default
checks and assemble, which are identical for Java and Groovy.