Basic travis configuration for java project.