Adding circle.yml
This commit is contained in:
parent
398be12e14
commit
b72080e4fc
16
circle.yml
Normal file
16
circle.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user