Commit 5c800be1 authored by Amos Wenger's avatar Amos Wenger

Switch to module

parent 5c88b6a5
Pipeline #14164 failed with stage
in 27 seconds
module github.com/itchio/smaug
go 1.12
require (
github.com/itchio/ox v0.0.0-20190320095717-ec75be15423d
github.com/itchio/wharf v0.0.0-20181213155255-5c074d8f87a4
github.com/pkg/errors v0.8.1
github.com/stretchr/testify v1.3.0
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
)
......@@ -54,7 +54,7 @@ func (pg *processGroup) Wait() error {
return errors.WithStack(err)
} else {
if err != nil {
pg.consumer.Infof("Could not get group of process %d: %s", err.Error())
pg.consumer.Infof("Could not get group of process %d: %s", pid, err.Error())
} else {
pg.consumer.Infof("Process %d had no group", pid)
}
......
......@@ -2,18 +2,8 @@
go version
export GOPATH=$PWD/gopath
rm -rf $GOPATH
export PATH="$PATH:$(go env GOPATH)/bin"
export PKG=github.com/itchio/smaug
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 -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