You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by el...@apache.org on 2018/04/16 15:37:53 UTC
[incubator-trafficcontrol] 01/03: `go get` prior to running unit
tests for the golang.org/x dependencies
This is an automated email from the ASF dual-hosted git repository.
elsloo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git
commit e563ce5a553d01431992309b43adab9d26d804a4
Author: Dan Kirkwood <da...@apache.org>
AuthorDate: Wed Apr 11 10:44:39 2018 -0600
`go get` prior to running unit tests for the golang.org/x dependencies
---
traffic_ops/app/bin/tests/Dockerfile-golangtest | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/traffic_ops/app/bin/tests/Dockerfile-golangtest b/traffic_ops/app/bin/tests/Dockerfile-golangtest
index 4143db9..0ccfe8a 100644
--- a/traffic_ops/app/bin/tests/Dockerfile-golangtest
+++ b/traffic_ops/app/bin/tests/Dockerfile-golangtest
@@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-FROM golang:1.8
+FROM golang:1.10
MAINTAINER Dan Kirkwood <da...@apache.org>
ARG DIR=github.com/apache/incubator-trafficcontrol
@@ -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 ./...)'
#
# vi:syntax=Dockerfile
--
To stop receiving notification emails like this one, please contact
elsloo@apache.org.