Restore repository depth in Travis CI script to properly count commits in auto versioning.
This commit is contained in:
+2
-1
@@ -13,7 +13,8 @@ install:
|
|||||||
- source /opt/qt5*/bin/qt5*-env.sh
|
- source /opt/qt5*/bin/qt5*-env.sh
|
||||||
|
|
||||||
script:
|
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
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
|
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
|
|||||||
Reference in New Issue
Block a user