move travis shell commands to script