From: Richard Levitte Date: Thu, 15 Jun 2017 14:52:18 +0000 (+0200) Subject: .travis.yml: Detect if 'make update' updated something X-Git-Tag: OpenSSL_1_1_0g~170 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=85bbb9e6189e158647b1cb15c5c1dea32882240e;p=oweals%2Fopenssl.git .travis.yml: Detect if 'make update' updated something If it did, it really is something that should be checked in, and should therefore make a CI build fail. Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3686) (cherry picked from commit 46e5b661d435b11652b90cd9e06cbf6606d3b61a) --- diff --git a/.travis.yml b/.travis.yml index 47784809e6..76ead01e28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -187,7 +187,8 @@ script: else top=.; fi - - $make update + - $make update; + git diff --quiet - $make - if [ -z "$BUILDONLY" ]; then if [ -n "$CROSS_COMPILE" ]; then