aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAudrius Butkevicius <audrius.butkevicius@gmail.com>2015-01-21 23:59:08 +0000
committerAudrius Butkevicius <audrius.butkevicius@gmail.com>2015-01-22 00:18:08 +0000
commit25c664b13ab4c0c8498c4a1a448abee2b62bf3be (patch)
treeeef88a9d1538e0bedbdf694e963c86b8929c7c2f /build.sh
parent7c680c955fb6664903088263fc0618ce5751dd90 (diff)
downloadsyncthing-25c664b13ab4c0c8498c4a1a448abee2b62bf3be.tar.gz
syncthing-25c664b13ab4c0c8498c4a1a448abee2b62bf3be.zip
Improvements to integration tests
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index b88241320..aaaea87c0 100755
--- a/build.sh
+++ b/build.sh
@@ -3,6 +3,7 @@ set -euo pipefail
IFS=$'\n\t'
DOCKERIMGV=1.4.1-1
+STTRACE=${STTRACE:-}
case "${1:-default}" in
default)
@@ -110,6 +111,7 @@ case "${1:-default}" in
docker run --rm -h syncthing-builder -u $(id -u) -t \
-v $(pwd):/go/src/github.com/syncthing/syncthing \
-w /go/src/github.com/syncthing/syncthing \
+ -e "STTRACE=$STTRACE" \
syncthing/build:$DOCKERIMGV \
sh -c './build.sh clean \
&& go vet ./cmd/... ./internal/... \
@@ -122,6 +124,7 @@ case "${1:-default}" in
docker run --rm -h syncthing-builder -u $(id -u) -t \
-v $(pwd):/go/src/github.com/syncthing/syncthing \
-w /go/src/github.com/syncthing/syncthing \
+ -e "STTRACE=$STTRACE" \
syncthing/build:$DOCKERIMGV \
sh -euxc './build.sh clean \
&& go run build.go -race \