diff --git a/.travis/build-ubuntu-14-04.sh b/.travis/build-ubuntu-14-04.sh index 9a1e0afec..595c25a16 100755 --- a/.travis/build-ubuntu-14-04.sh +++ b/.travis/build-ubuntu-14-04.sh @@ -182,5 +182,18 @@ test_qtox() { cd - } -build_qtox -test_qtox +# CMake is supposed to process files, e.g. ones with versions. +# Check whether those changes have been committed. +check_if_differs() { + echo "Checking whether files processed by CMake have been committed..." + echo "" + # ↓ `0` exit status only if there are no changes + git diff --exit-code +} + +main() { + build_qtox + test_qtox + check_if_differs +} +main