Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 73fbe53

Browse filesBrowse files
committed
stability improvements
1 parent 1bf3079 commit 73fbe53
Copy full SHA for 73fbe53

File tree

Expand file treeCollapse file tree

2 files changed

+17
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+17
-2
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ before_install:
1212
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq build-essential; fi
1313

1414
script:
15-
- SKIPINSTALL=yes ./build-ffmpeg --build
15+
- SKIPINSTALL=yes VERBOSE=yes ./build-ffmpeg --build
1616

1717
after_script:
1818
- ./build-ffmpeg --cleanup

‎build-ffmpeg

Copy file name to clipboardExpand all lines: build-ffmpeg
+16-1Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ download () {
4343

4444
echo "Downloading $1"
4545
curl -L --silent -o "$PACKAGES/$2" "$1"
46+
47+
EXITCODE=$?
48+
if [ $EXITCODE -ne 0 ]; then
49+
echo ""
50+
echo "Failed to download $1. Exitcode $EXITCODE. Retrying in 10 seconds";
51+
sleep 10
52+
curl -L --silent -o "$PACKAGES/$2" "$1"
53+
fi
54+
4655
EXITCODE=$?
4756
if [ $EXITCODE -ne 0 ]; then
4857
echo ""
@@ -62,7 +71,13 @@ download () {
6271

6372
execute () {
6473
echo "$ $*"
65-
OUTPUT="$($@ 2>&1)"
74+
75+
if [[ ! $VERBOSE == "yes" ]]; then
76+
OUTPUT="$($@ 2>&1)"
77+
else
78+
$@
79+
fi
80+
6681

6782
if [ $? -ne 0 ]; then
6883
echo "$OUTPUT"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.