Move travis script into its own file