Try importing gzip on Travis to see if this is a Travis issue.