From 694db88ac107aa73d6813872c48d2700651f4b2d Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Wed, 9 Nov 2016 09:28:47 -0600 Subject: [PATCH] bug fix: fail build if tests fail --- packaging/windows/test.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/windows/test.ps1 b/packaging/windows/test.ps1 index fa12e8602..a6f317694 100644 --- a/packaging/windows/test.ps1 +++ b/packaging/windows/test.ps1 @@ -1,5 +1,6 @@ C:\Python27\Scripts\pip.exe install mock C:\Python27\Scripts\pip.exe install pylint C:\Python27\python.exe C:\Python27\Scripts\trial.py C:\projects\lbry\tests\unit +if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } C:\Python27\Scripts\pylint.exe -E --disable=inherit-non-class --disable=no-member --ignored-modules=distutils --enable=unused-import lbrynet packaging/windows/lbry-win32-app/LBRYWin32App.py if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }