forked from LBRYCommunity/lbry-sdk
9f2dbd4291
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.
4 lines
229 B
PowerShell
4 lines
229 B
PowerShell
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) }
|