fail windows build if test suite doesn't pass
This commit is contained in:
parent
fd137e0909
commit
ae72e4a62a
1 changed files with 7 additions and 2 deletions
|
@ -78,5 +78,10 @@ PATH="$(pwd)/dist/build/git-annex/:$PATH"
|
|||
export PATH
|
||||
mkdir -p c:/WINDOWS/Temp/git-annex-test/
|
||||
cd c:/WINDOWS/Temp/git-annex-test/
|
||||
withcyg git-annex.exe test || true
|
||||
rm -rf .t
|
||||
if withcyg git-annex.exe test; then
|
||||
rm -rf .t
|
||||
else
|
||||
rm -rf .t
|
||||
echo "Test suite failure; failing build!"
|
||||
false
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue