.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 a7ef6ff..b9e12fc 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