break travis script apart to set up for auto-binary builds