diff options
author | OGINO Masanori <masanori.ogino@gmail.com> | 2015-07-16 08:50:27 +0900 |
---|---|---|
committer | OGINO Masanori <masanori.ogino@gmail.com> | 2015-07-16 09:02:48 +0900 |
commit | 03f73146e79981bb5cf23695c46235e688a32541 (patch) | |
tree | 69552e0b30bea09a80e44bbf62b137763859234f /.travis.yml | |
parent | 6f039027f8ebff929d6ee1bf4a357832154a9ad3 (diff) |
Split roundtrip_test and leakcheck.
CI status became green even if roundtrip_test failed, since `then` block
was not suspended when $? was non-zero. Splitting roundtrip_test and
leakcheck addresses this problem.
With this change, builds checks ``${TRAVIS_OS_NAME}`` twice, but
checking a variable is cheap enough.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 5de5632..5ffc63b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,10 @@ script: - | if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ] then - make roundtrip_test - make leakcheck + make roundtrip_test + fi + - | + if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ] + then + make leakcheck fi |