mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-11 15:13:37 +02:00
Add more retrying to Travis download.
This commit is contained in:
+9
-1
@@ -33,7 +33,15 @@ before_install:
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install aria2 pv -qq
|
||||
- download_extract() { aria2c -x 16 $1 -o $2 && tar -xf $2; }
|
||||
- download_extract_xz() { aria2c --file-allocation=none --timeout=120 --retry-wait=5 --max-tries=20 -Z -c $1 -o $2 && pv $2 | xz -vd | tar -x; }
|
||||
- download_extract_xz() {
|
||||
aria2c --file-allocation=none --timeout=120 --retry-wait=5 --max-tries=20 -Z -c $1 -o $2 &&
|
||||
stat -c 'ATTEMPT 1 - %s' $2 &&
|
||||
md5sum $2 &&
|
||||
aria2c --file-allocation=none --timeout=120 --retry-wait=5 --max-tries=20 -Z -c $1 -o $2 &&
|
||||
stat -c 'ATTEMPT 2 - %s' $2 &&
|
||||
md5sum $2 &&
|
||||
pv $2 | xz -vd | tar -x;
|
||||
}
|
||||
# Travis uses CMake 2.8.7. We require 2.8.8. Grab latest
|
||||
- if [ "$CMAKE" == "TRUE" ]; then
|
||||
sudo apt-get install lib32stdc++6 lib32z1 lib32z1-dev -qq &&
|
||||
|
||||
Reference in New Issue
Block a user