summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2019-05-21 15:16:32 +0200
committerDan Fandrich <dan@coneharvesters.com>2019-05-21 15:19:35 +0200
commit42a1964a62ab13f301cbde851ce3d4412fdbdfcd (patch)
tree73c942373eb0c222de08999b32e1467b5ae19220
parent1436ce716408158ca79abdbd5e02d24091a0facd (diff)
downloadlibexif-42a1964a62ab13f301cbde851ce3d4412fdbdfcd.tar.gz
libexif-42a1964a62ab13f301cbde851ce3d4412fdbdfcd.tar.bz2
libexif-42a1964a62ab13f301cbde851ce3d4412fdbdfcd.zip
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.
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
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).