add travis ci and integration test
0.3.7