Commit a6700d47 authored by Amos Wenger's avatar Amos Wenger

Switch CI script to go modules

parent da1bb6dc
Pipeline #14198 passed with stage
in 2 minutes and 11 seconds
......@@ -2,20 +2,8 @@
go version
export GOPATH=$PWD/gopath
rm -rf $GOPATH
export PATH="$PATH:$(go env GOPATH)/bin"
export PATH=$PATH:$GOPATH/bin
mkdir -p $GOPATH/src/$PKG
rsync -a --exclude 'gopath' . $GOPATH/src/$PKG
# *shakes fist*
go get -v -d
go get -v -d -t $PKG/...
go test -v -cover -coverprofile=coverage.txt -race $PKG/...
go test -v -race -cover -coverprofile=coverage.txt ./...
curl -s | bash
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment