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_1-pre1~1312 X-Git-Url: https://git.openssl.org/gitweb/?a=commitdiff_plain;h=46e5b661d435b11652b90cd9e06cbf6606d3b61a;hp=5aba2b6e88d1d7fc921d2161af27a0835f966ea9;p=openssl.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) --- diff --git a/.travis.yml b/.travis.yml index a7ef6ff42b..b9e12fc3c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -184,7 +184,8 @@ script: - if [ -n "$DESTDIR" ]; then cd _build; fi - - $make update + - $make update; + git diff --quiet - if [ -n "$CHECKDOCS" ]; then $make doc-nits; fi