fix ambiguous method warning
add travis file