Skip to content

Commit

Permalink
chore(travis): make travis happy by having some output - but not too …
Browse files Browse the repository at this point in the history
…much

Fix qTox#5515

brew install might take a long time to build Qt or ffmpeg. Travis kills us if
we don't output for 10 minutes. Travis also kills us if we output too much, so
verbose isn't an option. So just output some dots...
  • Loading branch information
anthonybilinski committed Oct 10, 2019
1 parent 6fb5b20 commit 8e597ed
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions osx/qTox-Mac-Deployer-ULTIMATE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,23 @@ install() {
# needed for kf5-sonnet
brew tap kde-mac/kde

# verbose so that build output is shown, otherwise qt5 build has no output for >10 mins
# and is killed by Travis CI
brew install --verbose ffmpeg libexif qrencode qt5 sqlcipher openal-soft #kf5-sonnet
# brew install qt5 might take a long time to build Qt. Travis kills us if
# we don't output for 10 minutes. Travis also kills us if we output too much,
# so verbose isn't an option. So just output some dots...
if [[ $TRAVIS = true ]]
then
echo "outputting dots to keep travis from killing us..."
while true; do
echo -n "."
sleep 10
done &
DOT_PID=$!
fi
brew install ffmpeg libexif qrencode qt5 sqlcipher openal-soft #kf5-sonnet
if [[ $TRAVIS = true ]]
then
kill $DOT_PID
fi

fcho "Cloning filter_audio ... "
git clone --branch v0.0.1 --depth=1 https://github.com/irungentoo/filter_audio "$FILTERAUIO_DIR"
Expand Down

0 comments on commit 8e597ed

Please sign in to comment.