]> git.baikalelectronics.ru Git - uboot.git/commit
travis: Correct error checking when building boards
authorSimon Glass <sjg@chromium.org>
Sun, 19 Apr 2020 23:02:32 +0000 (17:02 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 14:51:56 +0000 (10:51 -0400)
commitf2afcaf666e385e4c6b3c124b6112ca72ad44fe4
tree877d0b402378fbd496e1b4486e1fcf3ebe2a048d
parentcd998ff375910a7f8747e3555b4e4eb3101c601e
travis: Correct error checking when building boards

At present if buildman reports an error, the travis build still succeeds.

This is because the travis script does not stop when it sees errors; nor
does it automatically return the exit code. Also the current error
checking never triggers since 'ret' is not set.

Fix this by setting 'ret' correctly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
.travis.yml