summaryrefslogtreecommitdiffstats
path: root/.travis/utils.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:11:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:11:34 +0000
commitd079b656b4719739b2247dcd9d46e9bec793095a (patch)
treed2c950c70a776bcf697c963151c5bd959f8a9f03 /.travis/utils.sh
parentReleasing debian version 1.37.1-2. (diff)
downloadnetdata-d079b656b4719739b2247dcd9d46e9bec793095a.tar.xz
netdata-d079b656b4719739b2247dcd9d46e9bec793095a.zip
Merging upstream version 1.38.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.travis/utils.sh')
-rw-r--r--.travis/utils.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/.travis/utils.sh b/.travis/utils.sh
deleted file mode 100644
index d084a7aef..000000000
--- a/.travis/utils.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env bash
-
-# Prevent travis from timing out after 10 minutes of no output
-tick() {
- (while true; do sleep 300; echo; done) &
- local PID=$!
- disown
-
- "$@"
- local RET=$?
-
- kill $PID
- return $RET
-}
-export -f tick
-
-retry() {
- local tries=$1
- shift
-
- local i=0
- while [ "$i" -lt "$tries" ]; do
- "$@" && return 0
- sleep $((2**((i++))))
- done
-
- return 1
-}
-export -f retry