add travis ci support, fix #20