use six.StringIO instead of StringIO
add travis-ci.org configuration file