fix some compile warnings
add travis build status