diff mbox series

[v3,15/17] .travis.yml: drop the travis_retry from tests

Message ID 20200203090932.19147-16-alex.bennee@linaro.org (mailing list archive)
State New, archived
Headers show
Series testing/next (with build fixes, finally GREEN!) | expand

Commit Message

Alex Bennée Feb. 3, 2020, 9:09 a.m. UTC
This was a crutch when we introduced it - however it does have the
disadvantage of causing tests to timeout with large amounts of logs.
Lets drop it and see if the stability has improved since.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .travis.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Philippe Mathieu-Daudé Feb. 3, 2020, 2:58 p.m. UTC | #1
On 2/3/20 10:09 AM, Alex Bennée wrote:
> This was a crutch when we introduced it - however it does have the
> disadvantage of causing tests to timeout with large amounts of logs.
> Lets drop it and see if the stability has improved since.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   .travis.yml | 7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 022462f6981..875671325c8 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -103,7 +103,12 @@ script:
>       else
>           $(exit $BUILD_RC);
>       fi
> -  - if [ "$BUILD_RC" -eq 0 ] ; then travis_retry ${TEST_CMD} ; else $(exit $BUILD_RC); fi
> +  - |
> +    if [ "$BUILD_RC" -eq 0 ] ; then
> +        ${TEST_CMD} ;
> +    else
> +        $(exit $BUILD_RC);
> +    fi
>   after_script:
>     - if command -v ccache ; then ccache --show-stats ; fi
>   
> 

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 022462f6981..875671325c8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -103,7 +103,12 @@  script:
     else
         $(exit $BUILD_RC);
     fi
-  - if [ "$BUILD_RC" -eq 0 ] ; then travis_retry ${TEST_CMD} ; else $(exit $BUILD_RC); fi
+  - |
+    if [ "$BUILD_RC" -eq 0 ] ; then
+        ${TEST_CMD} ;
+    else
+        $(exit $BUILD_RC);
+    fi
 after_script:
   - if command -v ccache ; then ccache --show-stats ; fi