Skip to content

Commit 39daeba

Browse files
committedJul 22, 2017
travis: More trying to get work.
1 parent 7b2c12a commit 39daeba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎.travis/build.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -331,14 +331,14 @@ if [ ! -z "$PREBUILT_DIR" ]; then
331331
cd $PREBUILT_DIR
332332
for i in 1 2 3 4 5 6 7 8 9 10; do # Try 10 times.
333333
if [ "$TRAVIS_BRANCH" = "master" ]; then
334-
echo
335-
echo "Updating unstable link (Try $i)"
336-
echo "---------------------------------------------"
337334
for PLATFORM in $PLATFORMS; do
338335
(
339336
if [ ! -d "$PLATFORM/firmware" ]; then
340337
continue
341338
fi
339+
echo
340+
echo "Updating unstable link (Try $i)"
341+
echo "---------------------------------------------"
342342
cd $PLATFORM/firmware
343343
LATEST="$(ls ../../archive/master/ | tail -n 1)"
344344
HDMI2USB_FIRMWARE="../../archive/master/$LATEST/$PLATFORM/hdmi2usb/lm32"
@@ -362,15 +362,15 @@ if [ ! -z "$PREBUILT_DIR" ]; then
362362
echo "Merging (Try $i)"
363363
echo "---------------------------------------------"
364364
git fetch
365-
git merge origin/master -m "Merging #$TRAVIS_JOB_NUMBER of $GIT_REVISION"
365+
git merge origin/master --stat --commit -m "Merging #$TRAVIS_JOB_NUMBER of $GIT_REVISION"
366366
echo
367367
echo "Changes to be pushed (Try $i)"
368368
echo "---------------------------------------------"
369369
git diff origin/master --stat=1000,1000 --exit-code && break
370370
echo
371371
echo "Pushing (Try $i)"
372372
echo "---------------------------------------------"
373-
git push --quiet origin master > /dev/null 2>&1 && break
373+
git push --quiet origin master > /dev/null 2>&1
374374
done
375375
echo
376376
echo "Push finished!"

0 commit comments

Comments
 (0)
Please sign in to comment.