]> Git Repo - qemu.git/commitdiff
travis: enable travis_retry for check phase
authorAlex Bennée <[email protected]>
Tue, 16 Jul 2019 14:53:02 +0000 (15:53 +0100)
committerAlex Bennée <[email protected]>
Tue, 23 Jul 2019 14:53:25 +0000 (15:53 +0100)
We have some flaky tests and usually the test passes on a retry.
Enable travis_retry for the test phase and see if that helps keep
things green.

Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
.travis.yml

index 5d3d6ee1d3287ce518707aabd84dc5e16111f493..caf0a1f8faf41d827a4ea280c1d2a336897084e1 100644 (file)
@@ -75,7 +75,7 @@ before_script:
   - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
   - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
 script:
-  - make -j3 && ${TEST_CMD}
+  - make -j3 && travis_retry ${TEST_CMD}
 
 
 matrix:
This page took 0.02691 seconds and 4 git commands to generate.