tests/e2e: use build from host

This commit is contained in:
Leo Antunes 2019-07-13 11:11:43 +02:00
parent 93d8e2eb0a
commit 36d41326c7
2 changed files with 1 additions and 7 deletions

View File

@ -10,7 +10,7 @@ build:
release: build release: build
sha256sum wesher-* > wesher.sha256sums sha256sum wesher-* > wesher.sha256sums
e2e: e2e: build
tests/e2e.sh tests/e2e.sh
clean: clean:

View File

@ -2,12 +2,6 @@
set -e set -e
if [ ! -x ./wesher ]; then
echo "Building wesher for e2e tests"
# build inside container to ensure same libc (image is alpine-based)
docker run --rm -v $(pwd):/app -v ${GOPATH}/pkg/mod:/go/pkg/mod --entrypoint="" costela/wesher-test go build
fi
declare -A started_containers declare -A started_containers
cleanup() { cleanup() {