From: Dan Fandrich Date: Tue, 21 May 2019 13:16:32 +0000 (+0200) Subject: Increase git clone depth in Travis. X-Git-Tag: libexif-0_6_22-release~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42a1964a62ab13f301cbde851ce3d4412fdbdfcd;hp=1436ce716408158ca79abdbd5e02d24091a0facd;p=platform%2Fupstream%2Flibexif.git Increase git clone depth in Travis. The value of 1 caused problems when more than one commit was pushed but the most recent commit(s) had a "skip ci" note. Travis would try to build from a prior new commit without the tag but it would fail because only the most recent was available. --- diff --git a/.travis.yml b/.travis.yml index 29257d1..9f1cd6d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,8 @@ sudo: false language: c git: - depth: 1 + # Set to 10 instead of 1 to avoid problems when the most recent commits have [skip ci] + depth: 10 # Install autopoint on Ubuntu (needed for gettext) # This is ignored on bionic for some reason (see below).