Fail if `git diff` fails

Change-Id: I57256b0a24247f6123cb0e25a89c1b59867cb3f9
This commit is contained in:
Tim Newsome 2018-04-16 13:17:09 -07:00
parent 4c39ed9d7f
commit 9cb2c56dc1
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ matrix:
- binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686
script:
- set -o pipefail
- git diff `git merge-base master HEAD` | ./tools/scripts/checkpatch.pl -
- ./bootstrap && ./configure --enable-remote-bitbang --enable-jtag_vpi $CONFIGURE_ARGS && make
- file src/$EXECUTABLE