add travis ci configuration, and fix dependency, whitespaces