Adding circle.yml

This commit is contained in:
KrustyHack 2016-10-07 12:25:12 +00:00
parent 398be12e14
commit b72080e4fc

16
circle.yml Normal file
View File

@ -0,0 +1,16 @@
machine:
services:
- docker
dependencies:
pre:
- docker pull golang:1.6
post:
- docker build -t krustyhack/ipd .
test:
override:
- docker run -d --name ipd krustyhack/ipd
- docker logs -f ipd | tee -a ${CIRCLE_ARTIFACTS}/ipd.log:
background: true
- grep "Listening on" -a ${CIRCLE_ARTIFACTS}/ipd.log