forked from LBRYCommunity/lbry-sdk
Appveyor build needs to fail when tests fail
According to https://www.appveyor.com/docs/build-configuration/#script-blocks-in-build-configuration a build only fails if an exception is thrown. This is causing builds to pass even if the tests fail. That same link suggests adding the code that is in this commit.
This commit is contained in:
parent
733bb3bccf
commit
9f2dbd4291
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
C:\Python27\Scripts\pip.exe install mock
|
C:\Python27\Scripts\pip.exe install mock
|
||||||
C:\Python27\Scripts\pip.exe install pylint
|
C:\Python27\Scripts\pip.exe install pylint
|
||||||
C:\Python27\python.exe C:\Python27\Scripts\trial.py C:\projects\lbry\tests\unit
|
C:\Python27\python.exe C:\Python27\Scripts\trial.py C:\projects\lbry\tests\unit
|
||||||
|
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
|
||||||
|
|
Loading…
Reference in a new issue