Parcourir la source

Don't use godep to run tests

Jakob Borg il y a 10 ans
Parent
commit
a52811dfa3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      build.sh

+ 1 - 1
build.sh

@@ -108,7 +108,7 @@ case "${1:-default}" in
 		# For every package in the repo
 		for dir in $(go list ./...) ; do
 			# run the tests
-			godep go test -race -coverprofile=profile.out $dir
+			GOPATH="$(pwd)/Godeps/_workspace:$GOPATH" go test -race -coverprofile=profile.out $dir
 			if [ -f profile.out ] ; then
 				# and if there was test output, append it to coverage.out
 				grep -v "mode: " profile.out >> coverage.out