first run at integ test using docker-compose

This commit is contained in:
josebarn
2017-08-16 08:30:40 -03:00
parent e2ca326b66
commit b138870433
8 changed files with 57 additions and 22 deletions

View File

@@ -16,6 +16,13 @@ pipeline:
commands:
- go test ./api
run-tests-in-compose:
image: michalpodeszwa/docker-compose:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- ./script/drone-run-tests.sh api-tests
publish:
image: plugins/docker
repo: josebarn/hello-world