Skip to content

Commit 8ec9cbb

Browse files
committed
travis: fetch astyle with retry
Use retry for curl, sourcefourge have some hiccups sometimes
1 parent d45a22d commit 8ec9cbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ matrix:
109109
- env:
110110
- NAME=astyle
111111
install:
112-
- curl -v -LO http://downloads.sourceforge.net/project/astyle/astyle/astyle%203.1/astyle_3.1_linux.tar.gz;
112+
- curl -v -LO --retry 20 http://downloads.sourceforge.net/project/astyle/astyle/astyle%203.1/astyle_3.1_linux.tar.gz;
113113
mkdir -p BUILD && tar xf astyle_3.1_linux.tar.gz -C BUILD;
114114
pushd BUILD/astyle/build/gcc;
115115
make;

0 commit comments

Comments
 (0)