Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
28c89507
Unverified
Commit
28c89507
authored
Nov 06, 2017
by
Edward Thomson
Committed by
GitHub
Nov 06, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4394 from libgit2/cmn/macos-ramdisk
travis: put clar's sandbox in a ramdisk on macOS
parents
1082eabb
71ba4644
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
script/cibuild.sh
+9
-0
No files found.
script/cibuild.sh
View file @
28c89507
...
@@ -10,6 +10,15 @@ fi
...
@@ -10,6 +10,15 @@ fi
if
[
"
$TRAVIS_OS_NAME
"
=
"osx"
]
;
then
if
[
"
$TRAVIS_OS_NAME
"
=
"osx"
]
;
then
export
PKG_CONFIG_PATH
=
$(
ls
-d
/usr/local/Cellar/
{
curl,zlib
}
/
*
/lib/pkgconfig | paste
-s
-d
':'
-
)
export
PKG_CONFIG_PATH
=
$(
ls
-d
/usr/local/Cellar/
{
curl,zlib
}
/
*
/lib/pkgconfig | paste
-s
-d
':'
-
)
# Set up a ramdisk for us to put our test data on to speed up tests on macOS
export
CLAR_TMP
=
"
$HOME
"
/_clar_tmp
mkdir
-p
$CLAR_TMP
# 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
fi
# Should we ask Travis to cache this file?
# Should we ask Travis to cache this file?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment