]> granicus.if.org Git - libevent/commitdiff
travis-ci: use travis_retry to reduce number of problems with flacky tests
authorAzat Khuzhin <a3at.mail@gmail.com>
Thu, 9 Mar 2017 06:32:43 +0000 (09:32 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Sun, 12 Mar 2017 10:21:53 +0000 (13:21 +0300)
.travis.yml

index fe8d77efb4cff9c2fd1080138009c936c120082f..415e37ed79b71a42fbd69a8af134620a95510ac1 100644 (file)
@@ -68,7 +68,7 @@ script:
       ./autogen.sh &&
       ./configure $EVENT_CONFIGURE_OPTIONS &&
       make &&
-      travis_wait $TIMEOUT make -j $JOBS verify;
+      travis_retry travis_wait $TIMEOUT make -j $JOBS verify;
     fi
   - if [ "$EVENT_BUILD_METHOD" = "cmake" ]; then
       export
@@ -78,7 +78,7 @@ script:
       mkdir build &&
       cd build &&
       cmake .. $EVENT_CMAKE_OPTIONS &&
-      travis_wait $TIMEOUT
+      travis_retry travis_wait $TIMEOUT
       cmake --build . --target verify;
     fi