Make ToTexture public
update travis script