.travis.yml: Detect if 'make update' updated something
authorRichard Levitte <levitte@openssl.org>
Thu, 15 Jun 2017 14:52:18 +0000 (16:52 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 15 Jun 2017 14:52:18 +0000 (16:52 +0200)
If it did, it really is something that should be checked in, and should
therefore make a CI build fail.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3686)

.travis.yml

index a7ef6ff42b63797fbc7521a55c78e4691e4cb4f9..b9e12fc3c0cb7cf48c6cdfc5ec2c80f7a2ec5c9d 100644 (file)
@@ -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