gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 01/116: travis: exit if any steps fail


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 01/116: travis: exit if any steps fail
Date: Tue, 05 Dec 2017 14:50:31 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 2de63ab179eb78630ee039ad94fb2a5423df522d
Author: Max Dymond <address@hidden>
AuthorDate: Mon Oct 9 09:10:51 2017 +0100

    travis: exit if any steps fail
    
    We don't expect any steps to fail in travis. Exit the script if they do.
    
    Closes #1966
---
 .travis.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index b7776c98d..76b26db94 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -93,6 +93,8 @@ before_script:
 
 script:
     - |
+        # Uncomment this when `coverage` runs on Trusty.
+        # set -eo pipefail
         if [ "$T" = "coverage" ]; then
              export CC="gcc-4.8"
              ./configure --enable-debug --disable-shared --enable-code-coverage
@@ -105,18 +107,21 @@ script:
              coveralls --gcov /usr/bin/gcov-4.8 --gcov-options '\-lp' -e src 
-i lib -e tests -e docs -b $PWD/lib
         fi
     - |
+        set -eo pipefail
         if [ "$T" = "debug" ]; then
              ./configure --enable-debug --enable-werror $C
              make && make examples
              make TFLAGS=-n test-nonflaky
         fi
     - |
+        set -eo pipefail
         if [ "$T" = "normal" ]; then
              ./configure --enable-warnings --enable-werror $C
              make && make examples
              make test-nonflaky
         fi
     - |
+        set -eo pipefail
         if [ "$T" = "cmake" ]; then
              mkdir build
              cd build
@@ -124,6 +129,7 @@ script:
              make
         fi
     - |
+        set -eo pipefail
         if [ "$T" = "distcheck" ]; then
             ./configure
             make
@@ -155,6 +161,7 @@ script:
              make)
         fi
     - |
+        set -eo pipefail
         if [ "$T" = "fuzzer" ]; then
           # Download the fuzzer to a temporary folder
           ./tests/fuzz/download_fuzzer.sh /tmp/curl_fuzzer

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]