We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1082eab + 71ba464 commit 28c8950Copy full SHA for 28c8950
script/cibuild.sh
@@ -10,6 +10,15 @@ fi
10
11
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
12
export PKG_CONFIG_PATH=$(ls -d /usr/local/Cellar/{curl,zlib}/*/lib/pkgconfig | paste -s -d':' -)
13
+
14
+ # Set up a ramdisk for us to put our test data on to speed up tests on macOS
15
+ export CLAR_TMP="$HOME"/_clar_tmp
16
+ mkdir -p $CLAR_TMP
17
18
+ # 5*2M sectors aka ~5GB of space
19
+ device=$(hdiutil attach -nomount ram://$((5 * 2 * 1024 * 1024)))
20
+ newfs_hfs $device
21
+ mount -t hfs $device $CLAR_TMP
22
fi
23
24
# Should we ask Travis to cache this file?
0 commit comments