Update gopsutil godep dependency. Dont use godep go build anymore
godep seems to have a problem when dependencies have `internal` packages. So removing `godep go build` and `godep go test` from the build process in favor of just checking out the correct revisions using `godep restore` into the regular GOPATH. This basically means that we are not actually using anything within the Godeps directory except Godeps.json. I should probably make a separate go dependency management system that does this.
This commit is contained in:
@@ -57,7 +57,7 @@ exit_if_fail make
|
||||
exit_if_fail godep go vet ./...
|
||||
exit_if_fail make docker-run-circle
|
||||
sleep 10
|
||||
exit_if_fail godep go test -race ./...
|
||||
exit_if_fail go test -race ./...
|
||||
|
||||
# Simple Integration Tests
|
||||
# check that version was properly set
|
||||
|
||||
@@ -134,7 +134,8 @@ do_build() {
|
||||
rm -f $GOPATH_INSTALL/bin/$b
|
||||
done
|
||||
|
||||
godep go install -ldflags="-X main.Version $version" ./...
|
||||
godep restore
|
||||
go install -ldflags="-X main.Version $version" ./...
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Build failed, unable to create package -- aborting"
|
||||
cleanup_exit 1
|
||||
|
||||
Reference in New Issue
Block a user