Files
deb-python-pygit2/.travis.sh
Carlos Martín Nieto f94fe00673 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.
2012-08-06 18:13:26 +02:00

13 lines
228 B
Bash
Executable File

#!/bin/sh
cd ~
git clone --depth=1 -b master https://github.com/libgit2/libgit2.git
cd libgit2/
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DBUILD_CLAR=OFF
cmake --build . --target install
ls -la ..