From f94fe00673772c05203bc0b86b15ed68e8f46731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Mon, 6 Aug 2012 18:09:10 +0200 Subject: [PATCH] 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. --- .travis.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.sh b/.travis.sh index 16a88d1..26985cf 100755 --- a/.travis.sh +++ b/.travis.sh @@ -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 ..