travis: do a shallow clone of libgit2 and don't build the tests

This just adds time to the tests. We're not testing the library, but
the bindings, so do a shallow clone and stop cmake from building clar.
This commit is contained in:
Carlos Martín Nieto 2012-08-06 18:09:10 +02:00
parent 0821e7bf00
commit f94fe00673

@ -2,11 +2,11 @@
cd ~
git clone -b master https://github.com/libgit2/libgit2.git
git clone --depth=1 -b master https://github.com/libgit2/libgit2.git
cd libgit2/
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../_install
cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DBUILD_CLAR=OFF
cmake --build . --target install
ls -la ..