We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 990d2b8 commit 37bb151Copy full SHA for 37bb151
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
+ # 2M sectors aka ~1GB of space
19
+ device=$(hdiutil attach -nomount ram://$((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