improved requests exception handling
add travis-ci build configuration