Add wercker.yml

Changed Dockerfile to run as root so it has access to
/var/run/docker.sock.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
Ben Firshman 2014-09-23 10:17:14 -07:00
commit 7a8f5e10fd
2 changed files with 15 additions and 4 deletions

15
wercker.yml Normal file
View file

@ -0,0 +1,15 @@
box: wercker-labs/docker
build:
steps:
- script:
name: validate DCO
code: script/validate-dco
- script:
name: build
code: docker build -t fig .
- script:
name: flake8
code: docker run -v /var/run/docker.sock:/var/run/docker.sock fig flake8 fig
- script:
name: run tests
code: docker run -v /var/run/docker.sock:/var/run/docker.sock fig nosetests