add travis support and update doc on how to use