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.
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).