Increase the git clone depth.
[platform/upstream/libexif.git] / .cirrus.yml
index 04f62cb..8d982d4 100644 (file)
@@ -5,7 +5,7 @@ task:
   name: FreeBSD
   freebsd_instance:
     matrix:
-      # There isn't a stable 13.0 image yet (2019-09)
+      # There isn't a stable 13.0 image yet (2019-10)
       image_family: freebsd-13-0-snap
       image_family: freebsd-12-0
       # The stable 11.3 image causes "Agent is not responding" so use a snapshot
@@ -13,7 +13,9 @@ task:
       image_family: freebsd-10-4
 
   env:
-    CIRRUS_CLONE_DEPTH: 1
+    # Set to 10 instead of 1 to avoid problems when new commits are submitted
+    # during a run.
+    CIRRUS_CLONE_DEPTH: 10
     CFLAGS: -Wall -Wextra -O2
     MAKE_FLAGS: -j 2