GET TO THE TRAVISCI. Also, some very basic py3 compatiblity fixes that keep backwards comaptibility