diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..99c3090 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: go + +go: 1.4 + +install: + - go get -d -v ./... + - go build -v ./... diff --git a/README.md b/README.md index 4e23afd..888595f 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ ```` go get -u "github.com/codegangsta/cli" go get -u "github.com/gin-gonic/gin" +go get -u "github.com/robfig/cron" go get -u "github.com/samalba/dockerclient" go get -u "gopkg.in/redis.v3" ```` @@ -17,9 +18,9 @@ go get -u "gopkg.in/redis.v3" ## Global Options ```` --host, -H Docker host [$DOCKER_HOST] - --cert, -C Docker cert path [$DOCKER_CERT_PATH] + --cert, -C Docker cert path [$DOCKER_CERT_PATH] --redis "localhost:6379" Redis Host [$REDIS_HOST] --redis-password Redis Password [$REDIS_PWD] --redis-db "0" Redis Database [$REDIS_DB] - --debug Debug mode [$INTOOLS_DEBUG] + --debug Debug mode [$INTOOLS_DEBUG] ```` diff --git a/intools.types.go b/intools.types.go index 65fd061..e98e26b 100644 --- a/intools.types.go +++ b/intools.types.go @@ -9,7 +9,7 @@ import ( ) type IntoolsEngine struct { - DockerClient dockerclient.Client + DockerClient *dockerclient.DockerClient DockerHost string RedisClient redis.Client Cron *cron.Cron