[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/release-0.4.0] Handle errors from coveralls more gracefully.



commit fbb1c7adfcfbda2f7ed6877beb137c382ecb6b50
Author: Alexander Færøy <ahf@xxxxxxxxxxxxxx>
Date:   Wed Mar 20 15:44:06 2019 +0100

    Handle errors from coveralls more gracefully.
    
    Since we have moved coveralls to the script target the entire build will
    now fail if coveralls fail. We handle it more gracefully by echo'ing the
    failure instead of doing a hard-failure.
    
    See: https://bugs.torproject.org/29036
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 5319bbb89..336b67d29 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -156,7 +156,7 @@ script:
   - if [[ "$DISTCHECK" == "" ]]; then make check; fi
   - if [[ "$DISTCHECK" != "" ]]; then make distcheck DISTCHECK_CONFIGURE_FLAGS="$CONFIGURE_FLAGS"; fi
   ## If this build was one that produced coverage, upload it.
-  - if [[ "$COVERAGE_OPTIONS" != "" ]]; then coveralls -b . --exclude src/test --exclude src/trunnel --gcov-options '\-p'; fi
+  - if [[ "$COVERAGE_OPTIONS" != "" ]]; then coveralls -b . --exclude src/test --exclude src/trunnel --gcov-options '\-p' || echo "Coverage failed"; fi
 
 after_failure:
   ## configure will leave a log file with more details of config failures.



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits