Ben Firshman a3f70a9f64 Make script/test use Docker
Really easy to run entire test suite with Docker now. Also switch
Wercker to use the same script.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-09-30 13:51:42 -07:00

6 lines
184 B
Bash
Executable File

#!/bin/sh
set -ex
docker build -t fig .
docker run -v /var/run/docker.sock:/var/run/docker.sock fig flake8 fig
docker run -v /var/run/docker.sock:/var/run/docker.sock fig nosetests $@