summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2016-03-07 11:33:44 +0100
committerCarlos Martín Nieto <[email protected]>2016-03-07 11:33:44 +0100
commitd3bd8903f8310baf5395d63aec1e3d517578156d (patch)
tree49f4e1514a212e8e3190b1026cfe4aeba0317511
parent2ae7d13ba1037c7fa579fc52263ea280b37244ea (diff)
Update libgit2 version to install on Travis to 24
-rwxr-xr-xscript/install-libgit2.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/script/install-libgit2.sh b/script/install-libgit2.sh
index 9bf6b37..f2468c8 100755
--- a/script/install-libgit2.sh
+++ b/script/install-libgit2.sh
@@ -13,9 +13,10 @@ if [ "x$TRAVIS_BRANCH" = "xnext" ]; then
fi
cd "${HOME}"
-wget -O libgit2-0.23.1.tar.gz https://github.com/libgit2/libgit2/archive/v0.23.1.tar.gz
-tar -xzvf libgit2-0.23.1.tar.gz
-cd libgit2-0.23.1 && mkdir build && cd build
+LG2VER="0.24.0"
+wget -O libgit2-${LG2VER}.tar.gz https://github.com/libgit2/libgit2/archive/v${LG2VER}.tar.gz
+tar -xzvf libgit2-${LG2VER}.tar.gz
+cd libgit2-${LG2VER} && mkdir build && cd build
cmake -DTHREADSAFE=ON -DBUILD_CLAR=OFF -DCMAKE_BUILD_TYPE="RelWithDebInfo" .. && make && sudo make install
sudo ldconfig
cd "${TRAVIS_BUILD_DIR}"