mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
travis: let's try a 5GB ramdisk
This commit is contained in:
@@ -15,8 +15,8 @@ if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
export CLAR_TMP="$HOME"/_clar_tmp
|
||||
mkdir -p $CLAR_TMP
|
||||
|
||||
# 2M sectors aka ~1GB of space
|
||||
device=$(hdiutil attach -nomount ram://$((2 * 1024 * 1024)))
|
||||
# 5*2M sectors aka ~5GB of space
|
||||
device=$(hdiutil attach -nomount ram://$((5 * 2 * 1024 * 1024)))
|
||||
newfs_hfs $device
|
||||
mount -t hfs $device $CLAR_TMP
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user