Travis: if "make update" created a diff, please show it
authorRichard Levitte <levitte@openssl.org>
Thu, 2 Nov 2017 22:50:48 +0000 (23:50 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 3 Nov 2017 08:27:49 +0000 (09:27 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4652)

(cherry picked from commit d7948767556e68378b75196841b3d32dd70d169a)

.travis.yml

index ba2b537218f64218cd41201bbb7fb413c61d37af..b5fc4431811069bb16f00a8eb5600819b73bbcf8 100644 (file)
@@ -158,7 +158,7 @@ script:
       else
           echo -e '+\057 MAKE UPDATE FAILED'; false;
       fi;
-      git diff --quiet
+      git diff --exit-code
     - if [ -n "$CHECKDOCS" ]; then
           if $make doc-nits; then
               echo -e '+\057\057 MAKE DOC-NITS OK';