travis: download a tag instead of master

libgit2's development now happens on the master branch, which means we
can't use it to refer to the latest release. Download v0.21.0 explicitly
instead.
This commit is contained in:
Carlos Martín Nieto
2014-07-03 08:57:47 +02:00
parent 3cbc9b6c33
commit 1d509c1109

View File

@@ -2,7 +2,7 @@
cd ~ cd ~
git clone --depth=1 -b master https://github.com/libgit2/libgit2.git git clone --depth=1 -b v0.21.0 https://github.com/libgit2/libgit2.git
cd libgit2/ cd libgit2/
mkdir build && cd build mkdir build && cd build