#!/usr/bin/env bash# Prevent travis from timing out after 10 minutes of no output
tick(){(whiletrue;dosleep300;echo;done)&localPID=$!disown"$@"localRET=$?kill$PIDreturn$RET}export-ftick
retry(){localtries=$1shiftlocali=0while["$i"-lt"$tries"];do"$@"&&return0sleep$((2**((i++))))donereturn1}export-fretry