summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-06-15 16:52:18 +0200
committerRichard Levitte <levitte@openssl.org>2017-06-15 16:52:18 +0200
commit46e5b661d435b11652b90cd9e06cbf6606d3b61a (patch)
treed77f0614cfe23a23bdc556a858acd7af98880410 /.travis.yml
parent5aba2b6e88d1d7fc921d2161af27a0835f966ea9 (diff)
.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 <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3686)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
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