Skip to content

Commit dc585bf

Browse files
committed
Make test script fail on unexpected errors
1 parent 7c9cab5 commit dc585bf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis-pylint.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
#!/bin/sh
1+
#!/bin/bash
2+
3+
set -eux
4+
25
python setup.py install
36
pylint geoip2

.travis-yapf.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -eux
4+
35
diff=$(yapf -rd geoip2 tests)
46

57
if [[ $? != 0 ]]; then

0 commit comments

Comments
 (0)