From 6dcd7fc1ecd263a8d039967f0918689074f36435 Mon Sep 17 00:00:00 2001 From: Pawan Rawal <pawan0201@gmail.com> Date: Thu, 5 May 2016 14:29:15 +0530 Subject: [PATCH] appending go test to previous statement in Dockerfile --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4d351cda..2b74a3f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,12 +21,8 @@ ENV LD_LIBRARY_PATH "/usr/local/lib" # Install DGraph and update dependencies to right versions. RUN go get -v github.com/robfig/glock && \ go get -v github.com/dgraph-io/dgraph/... && \ - glock sync github.com/dgraph-io/dgraph && echo "v0.2.3" - -# Run some tests, don't build an image if we're failing tests. -# TODO(pawan): Please uncomment this once the tests run okay on Docker. -# https://trello.com/c/3lKdXE5f -# RUN go test github.com/dgraph-io/dgraph/... + glock sync github.com/dgraph-io/dgraph && echo "v0.2.3" && \ + go test github.com/dgraph-io/dgraph/... # Create the dgraph and data directory. These directories should be mapped # to host machine for persistence. -- GitLab