fix travic build

add yaml extension to ci
fix some type
fix private method building