diff mbox series

travis: make travis fail on failed build

Message ID 20170912135240.30526-1-christian.storm@siemens.com
State Accepted
Headers show
Series travis: make travis fail on failed build | expand

Commit Message

Storm, Christian Sept. 12, 2017, 1:52 p.m. UTC
Signed-off-by: Christian Storm <christian.storm@siemens.com>
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Babic Sept. 12, 2017, 3:25 p.m. UTC | #1
On 12/09/2017 15:52, Christian Storm wrote:
> Signed-off-by: Christian Storm <christian.storm@siemens.com>
> ---
>  .travis.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 4a32c72..e73ace5 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -42,4 +42,4 @@ script:
>      - make env
>      - sudo install -m 644 tools/env/lib.a /usr/local/lib/libubootenv.a
>      - cd ..
> -    - for i in configs/*;do echo $i;make `basename $i` && make;done
> +    - for i in configs/*;do echo $i;make `basename $i` && make || exit 1;done
> 

Applied to -master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 4a32c72..e73ace5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,4 +42,4 @@  script:
     - make env
     - sudo install -m 644 tools/env/lib.a /usr/local/lib/libubootenv.a
     - cd ..
-    - for i in configs/*;do echo $i;make `basename $i` && make;done
+    - for i in configs/*;do echo $i;make `basename $i` && make || exit 1;done