Added travis config file for java