I'm running my builds on travis-ci and I had some bad imports and it
threw an INTERNAL ERROR on py.test, but gave an exit code 0 so the
build doesn't fail.. Any way to fix this?
= test session starts ==
626platform linux2 -- Python 2.7.2 --
aren't loaded
import pytest
pytest.main(self.test_args)
Changed the last line to
result = pytest.main(self.test_args)
sys.exit(result)
and everything is working.
On Fri, Jul 6, 2012 at 9:31 PM, John Anderson wrote:
> I'm running my builds on travis-ci and I had som