add travis support

fixed #265