1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(travis): make travis happy by having some output - but not too much

Fix #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...
This commit is contained in:
Anthony Bilinski 2019-10-05 01:54:31 -07:00
parent 6fb5b205f4
commit 8e597ed736
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -170,9 +170,23 @@ install() {
# needed for kf5-sonnet # needed for kf5-sonnet
brew tap kde-mac/kde brew tap kde-mac/kde
# verbose so that build output is shown, otherwise qt5 build has no output for >10 mins # brew install qt5 might take a long time to build Qt. Travis kills us if
# and is killed by Travis CI # we don't output for 10 minutes. Travis also kills us if we output too much,
brew install --verbose ffmpeg libexif qrencode qt5 sqlcipher openal-soft #kf5-sonnet # 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 ... " fcho "Cloning filter_audio ... "
git clone --branch v0.0.1 --depth=1 https://github.com/irungentoo/filter_audio "$FILTERAUIO_DIR" git clone --branch v0.0.1 --depth=1 https://github.com/irungentoo/filter_audio "$FILTERAUIO_DIR"