From 5109da9c6a229f172f5f52830fd146c94fc71303 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sun, 5 May 2019 22:23:05 -0400 Subject: [PATCH] Restore repository depth in Travis CI script to properly count commits in auto versioning. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2f012d7..e97f3a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,8 @@ install: - source /opt/qt5*/bin/qt5*-env.sh script: - - git checkout master # re-attach to master to satisfy auto version tooling + - git fetch --unshallow # restore repository depth to properly count commits in auto versioning + - git checkout master # re-attach to master to satisfy auto versioning - mkdir build - cd build - cmake .. -DCMAKE_INSTALL_PREFIX=/usr