elsloo closed pull request #2116: TO go: `go get` prior to running unit tests 
for the golang.org/x dependencies
URL: https://github.com/apache/incubator-trafficcontrol/pull/2116
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/traffic_ops/app/bin/tests/Dockerfile-golangtest 
b/traffic_ops/app/bin/tests/Dockerfile-golangtest
index 4143db963..74f164d4d 100644
--- a/traffic_ops/app/bin/tests/Dockerfile-golangtest
+++ b/traffic_ops/app/bin/tests/Dockerfile-golangtest
@@ -20,6 +20,6 @@ ADD lib /go/src/$DIR/lib
 
 WORKDIR /go/src/$DIR/traffic_ops/traffic_ops_golang
 
-CMD bash -c 'go test -v $(go list ./... | grep -v /vendor/)'
+CMD bash -c 'go get -v && go test -cover -v $(go list ./...) ../../lib/go-*'
 #
 # vi:syntax=Dockerfile


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to