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 Docker.app file and sudo xattr -d -r com.apple.quarantine Docker.app to bypass the “This was downloaded from the internet warning”. I run open Docker.app 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.