Update libgit2 version to install on Travis to 24

This commit is contained in:
Carlos Martín Nieto 2016-03-07 11:33:44 +01:00
parent 2ae7d13ba1
commit d3bd8903f8
1 changed files with 4 additions and 3 deletions

View File

@ -13,9 +13,10 @@ if [ "x$TRAVIS_BRANCH" = "xnext" ]; then
fi fi
cd "${HOME}" cd "${HOME}"
wget -O libgit2-0.23.1.tar.gz https://github.com/libgit2/libgit2/archive/v0.23.1.tar.gz LG2VER="0.24.0"
tar -xzvf libgit2-0.23.1.tar.gz wget -O libgit2-${LG2VER}.tar.gz https://github.com/libgit2/libgit2/archive/v${LG2VER}.tar.gz
cd libgit2-0.23.1 && mkdir build && cd build 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 cmake -DTHREADSAFE=ON -DBUILD_CLAR=OFF -DCMAKE_BUILD_TYPE="RelWithDebInfo" .. && make && sudo make install
sudo ldconfig sudo ldconfig
cd "${TRAVIS_BUILD_DIR}" cd "${TRAVIS_BUILD_DIR}"