structure: add travis, example and fix of pointer to struct