Added generic java travis-ci config file.