add travis and fix doc