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 PKG=github.com/itchio/hades
export PATH=$PATH:$GOPATH/bin
mkdir -p $GOPATH/src/$PKG
rsync -a --exclude 'gopath' . $GOPATH/src/$PKG
# *shakes fist*
go get -v -d crawshaw.io/sqlite/...
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 https://codecov.io/bash | bash
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment