Commit d861b16a authored by Amos Wenger's avatar Amos Wenger

Fix CI script

parent 4f1ffc78
Pipeline #14187 passed with stage
in 17 seconds
#!/bin/sh -xe
go version
export GOPATH=$PWD/gopath
rm -rf $GOPATH
export PKG=github.com/itchio/spellbook
export PATH=$PATH:$GOPATH/bin
mkdir -p $GOPATH/src/$PKG
rsync -a --exclude 'gopath' . $GOPATH/src/$PKG
go get -v -d -t $PKG/...
go test -v -cover -coverprofile=coverage.txt -race $PKG/...
go test -v -cover -coverprofile=coverage.txt -race ./...
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