Checking docs
Checking formatting
Installing godeps
Install golint
Obtaining dependencies
update github.com/jessevdk/go-flags failed; trying to fetch newer version
update gopkg.in/check.v1 failed; trying to fetch newer version
github.com/jessevdk/go-flags now at 15347ef417a300349807983f15af9e65cd2e1b3a
gopkg.in/check.v1 now at 64131543e7896d5bcc6bd5a76287eb75ea96c673
Building
# we always run in a fresh dir in tarmac
export GOPATH=$(mktemp -d)
trap 'rm -rf "$GOPATH"' EXIT
# this is a hack, but not sure tarmac is golang friendly
mkdir -p $GOPATH/src/launchpad.net/snapcraft
cp -a . $GOPATH/src/launchpad.net/snapcraft/
cd $GOPATH/src/launchpad.net/snapcraft
./run-checks
if which goctest >/dev/null; then
goctest="goctest"
else
goctest="go test"
fi
echo Building
go build -v launchpad.net/snapcraft/...
config/yaml.go:26:2: cannot find package "gopkg.in/yaml.v2" in any of:
/usr/lib/go/src/pkg/gopkg.in/yaml.v2 (from $GOROOT)
/home/tarmac/tmp/tmp.5bGMFmzBB5/src/gopkg.in/yaml.v2 (from $GOPATH)
The attempt to merge lp:~mterry/snapcraft/yaml-info into lp:snapcraft failed. Below is the output from the failed tests.
Checking docs com/jessevdk/ go-flags failed; trying to fetch newer version com/jessevdk/ go-flags now at 15347ef417a3003 49807983f15af9e 65cd2e1b3a bcc6bd5a76287eb 75ea96c673
Checking formatting
Installing godeps
Install golint
Obtaining dependencies
update github.
update gopkg.in/check.v1 failed; trying to fetch newer version
github.
gopkg.in/check.v1 now at 64131543e7896d5
Building
# we always run in a fresh dir in tarmac
export GOPATH=$(mktemp -d)
trap 'rm -rf "$GOPATH"' EXIT
# this is a hack, but not sure tarmac is golang friendly src/launchpad. net/snapcraft src/launchpad. net/snapcraft/ src/launchpad. net/snapcraft
mkdir -p $GOPATH/
cp -a . $GOPATH/
cd $GOPATH/
./run-checks
if which goctest >/dev/null; then "goctest"
goctest=
else
goctest="go test"
fi
echo Checking docs
./mdlint.py README.md docs/*.md
echo Checking formatting
fmt=$(gofmt -l .)
if [ -n "$fmt" ]; then
echo "Formatting wrong in following files"
echo $fmt
exit 1
fi
echo Installing godeps net/godeps $GOPATH/ bin
go get launchpad.
export PATH=$PATH:
echo Install golint com/golang/ lint/golint $GOPATH/ bin
go get github.
export PATH=$PATH:
echo Obtaining dependencies
godeps -u dependencies.tsv
echo Building net/snapcraft/ ... yaml.go: 26:2: cannot find package "gopkg.in/yaml.v2" in any of: go/src/ pkg/gopkg. in/yaml. v2 (from $GOROOT) tarmac/ tmp/tmp. 5bGMFmzBB5/ src/gopkg. in/yaml. v2 (from $GOPATH)
go build -v launchpad.
config/
/usr/lib/
/home/