[ovs-dev] [PATCH 2/2] travis: Fail the build if any of the Linux build preparations fail.

Ben Pfaff blp at ovn.org
Thu Jul 27 20:41:06 UTC 2017


We want the build to fail if we can't prepare properly for it, but
linux-prepare.sh ignored errors.  This fixes the problem.

This would have made it more obvious where the problem fixed by the
previous commit originated.

(osx-prepare.sh already does the right thing.)

Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 .travis/linux-prepare.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh
index b73088d4a132..3295a5b5c7fb 100755
--- a/.travis/linux-prepare.sh
+++ b/.travis/linux-prepare.sh
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+set -ev
+
 # Build and install sparse.
 # 
 # Explicitly disable sparse support for llvm because some travis
-- 
2.10.2



More information about the dev mailing list