Have you tried this with travis-ci?
It took me a while to figure out that “docker-py” is the pip module one needs to use, “docker” does not work at the moment.
Right now I’m getting some weird other issues on travis.
Maybe I’m doing something wrong. I managed to get it working in a Ubuntu 14.04 VM anyway ;)