#!/bin/bash
set -euo pipefail
IFS=$'\n\t'

mkdir -p /home/drydock/go/src/github.com/etcinit
ln -sf $(pwd) /home/drydock/go/src/github.com/etcinit/
cd /home/drydock/go/src/github.com/etcinit/gonduit

glide install
go build $(glide novendor)
go test $(glide novendor)

#!/bin/bash
set -euo pipefail
IFS=$'\n\t'

rm -r /home/drydock/go/src

mkdir -p /home/drydock/go/src/github.com/etcinit
ln -sf $(pwd) /home/drydock/go/src/github.com/etcinit/
cd /home/drydock/go/src/github.com/etcinit/gonduit

glide install
go build $(glide novendor)
go test $(glide novendor)

Clean up directory before running tests
fix(harbormaster): Clean up directory before running tests
