From 657343a602ec5eddae6074656bfd0e8a91aaa8e8 Mon Sep 17 00:00:00 2001 From: Lars Schneider Date: Sun, 10 Sep 2017 16:44:28 +0200 Subject: travis-ci: move Travis CI code into dedicated scripts Most of the Travis CI commands are in the '.travis.yml'. The yml format does not support functions and therefore code duplication is necessary to run commands across all builds. To fix this, add a library for common CI functions. Move all Travis CI code into dedicated scripts and make them call the library first. Signed-off-by: Lars Schneider Signed-off-by: Junio C Hamano --- ci/test-documentation.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ci/test-documentation.sh') diff --git a/ci/test-documentation.sh b/ci/test-documentation.sh index 6214e6acb4..7a0a848e83 100755 --- a/ci/test-documentation.sh +++ b/ci/test-documentation.sh @@ -3,7 +3,9 @@ # Perform sanity checks on documentation and build it. # -set -e +. ${0%/*}/lib-travisci.sh + +gem install asciidoctor make check-builtins make check-docs -- cgit v1.3