.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 15:20:00 +0000 (17:20 +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)

(cherry picked from commit 46e5b661d435b11652b90cd9e06cbf6606d3b61a)

.travis.yml

index 47784809e6e09ff1b1a75e1aeda1fc6f011280b1..76ead01e28a37fdd9a6229a4496280bd4e1022c1 100644 (file)
@@ -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