Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit 0de4159

Browse files
authored
Merge pull request #612 from gleybersonandrade/fix_tests
Fix Travis false positive message
2 parents 148634a + 3407271 commit 0de4159

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ def run(self):
111111
check_call(cmd, shell=True)
112112
except CalledProcessError as exc:
113113
print(exc)
114+
print('Unit tests failed. Fix the error(s) above and try again.')
115+
sys.exit(-1)
114116

115117

116118
class TestCoverage(Test):
@@ -126,6 +128,8 @@ def run(self):
126128
check_call(cmd, shell=True)
127129
except CalledProcessError as exc:
128130
print(exc)
131+
print('Coverage tests failed. Fix the errors above and try again.')
132+
sys.exit(-1)
129133

130134

131135
class DocTest(SimpleCommand):

0 commit comments

Comments
 (0)