Docker for Mac startup scripts for travis-ci

I’m trying to get Docker for Mac running in travis-ci. It’s all command line. I use wget to download the file and sudo xattr -d -r to bypass the “This was downloaded from the internet warning”. I run open to run it. Finally, I sleep for about 20 seconds hoping it can run it’s startup scripts and copy the docker bin to /usr/local/bin. However, the file never appears there.

Is this something that I can manually do like copy certain files to specific paths to get it up and running? I’m trying to avoid using Docker Toolbox.