X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=nonrtric%2Frapp%2Fransliceassurance.git;a=blobdiff_plain;f=smoversion%2Fbuild-ransliceassurance-ubuntu.sh;h=ca04a809dc66adf3b62558b0bec205f0b680860b;hp=faf3efc2f2943e857564797e3a17e770355a863c;hb=HEAD;hpb=80578e5a9ceb992f28bafb4e32c92815df24d60e diff --git a/smoversion/build-ransliceassurance-ubuntu.sh b/smoversion/build-ransliceassurance-ubuntu.sh index faf3efc..ca04a80 100755 --- a/smoversion/build-ransliceassurance-ubuntu.sh +++ b/smoversion/build-ransliceassurance-ubuntu.sh @@ -22,13 +22,13 @@ echo "--> build-ransliceassurance-ubuntu.sh" # go installs tools like go-acc to $HOME/go/bin # ubuntu minion path lacks go export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin +export GO111MODULE=on go version cd smoversion/ # install the go coverage tool helper -go get -v github.com/ory/go-acc +go install github.com/ory/go-acc -export GO111MODULE=on go get github.com/stretchr/testify/mock@v1.7.0 go-acc ./... --ignore mocks