Skip to content

Commit 936b61e

Browse files
author
Owen Jones
committed
Replace exit with travis_terminate
This is a workaround for the problem that travis seems not to detect that clang-format has finished and sits waiting for 10 minutes and fails. test-gen are already using this workaround, cf. diffblue#1300 and diffblue#1331.
1 parent 6f3df1d commit 936b61e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
echo 'Formatting error! The following diff shows the required changes'
2929
echo 'Use the raw log to get a version of the diff that preserves spacing'
3030
cat formatted.diff
31-
exit 1
31+
travis_terminate 1
3232
fi
3333
echo 'No formatting errors found'
34-
exit 0
34+
travis_terminate 0
3535
before_cache:
3636

3737
# LOCAL CHANGES: added cbmc/ prefix to both these scripts

0 commit comments

Comments
 (0)