mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-11 12:09:07 +00:00
travis: exit on failure for anything related to building
This commit is contained in:
parent
6d69fbce31
commit
5875e8d21a
@ -8,14 +8,9 @@ export GITTEST_REMOTE_URL="git://localhost/test.git"
|
|||||||
|
|
||||||
mkdir _build
|
mkdir _build
|
||||||
cd _build
|
cd _build
|
||||||
cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
|
cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS || exit $?
|
||||||
cmake --build . --target install
|
cmake --build . --target install || exit $?
|
||||||
ctest -V .
|
ctest -V . || exit $?
|
||||||
ecode=$?
|
|
||||||
|
|
||||||
if [ $ecode -ne 0 ]; then
|
|
||||||
exit $ecode
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Now that we've tested the raw git protocol, let's set up ssh to we
|
# Now that we've tested the raw git protocol, let's set up ssh to we
|
||||||
# can do the push tests over it
|
# can do the push tests over it
|
||||||
|
Loading…
Reference in New Issue
Block a user