use `perror` for printing errors
add travis