From: David Marchand Date: Thu, 8 Aug 2019 12:22:17 +0000 (+0200) Subject: ci: exit setup on any error X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a6069abe0288371f67fa5dffa81e4ec8b6bcf761;p=dpdk.git ci: exit setup on any error -e is preferrable so that we can catch errors in the middle of this script. An example is this Travis job [1] that should have errored at the meson install step rather than go to the build step. Adding debug mode as it can help post-mortem. 1: https://travis-ci.com/DPDK/dpdk/jobs/223511683 Signed-off-by: David Marchand Acked-by: Michael Santana Acked-by: Aaron Conole --- diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh index a40e62eaa0..dfb9d4a206 100755 --- a/.ci/linux-setup.sh +++ b/.ci/linux-setup.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -xe # need to install as 'root' since some of the unit tests won't run without it sudo python3 -m pip install --upgrade meson