summaryrefslogtreecommitdiff
path: root/ci/test-documentation.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2019-01-27 23:26:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-01-28 18:34:28 (GMT)
commitb011fabd6e07f200ed3a0a117caa409e44aba10f (patch)
tree8e7dfe4cd7038998e7a16891c5a8be5ceec99d09 /ci/test-documentation.sh
parentc2160f2d1943d0b72a18e21300f98ef008e48696 (diff)
downloadgit-b011fabd6e07f200ed3a0a117caa409e44aba10f.zip
git-b011fabd6e07f200ed3a0a117caa409e44aba10f.tar.gz
git-b011fabd6e07f200ed3a0a117caa409e44aba10f.tar.bz2
ci/lib.sh: encapsulate Travis-specific things
The upcoming patches will allow building git.git via Azure Pipelines (i.e. Azure DevOps' Continuous Integration), where variable names and URLs look a bit different than in Travis CI. Also, the configurations of the available agents are different. For example, Travis' and Azure Pipelines' macOS agents are set up differently, so that on Travis, we have to install the git-lfs and gettext Homebrew packages, and on Azure Pipelines we do not need to. Likewise, Azure Pipelines' Ubuntu agents already have asciidoctor installed. Finally, on Azure Pipelines the natural way is not to base64-encode tar files of the trash directories of failed tests, but to publish build artifacts instead. Therefore, that code to log those base64-encoded tar files is guarded to be Travis-specific. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci/test-documentation.sh')
-rwxr-xr-xci/test-documentation.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/test-documentation.sh b/ci/test-documentation.sh
index d3cdbac..7d0beb2 100755
--- a/ci/test-documentation.sh
+++ b/ci/test-documentation.sh
@@ -5,6 +5,7 @@
. ${0%/*}/lib.sh
+test -n "$ALREADY_HAVE_ASCIIDOCTOR" ||
gem install asciidoctor
make check-builtins