travis setup

Adding a .yml file for travis to know that this is a java project.