Added travis config file for ruby and java