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 <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
edc74bc7f0
commit
657343a602
@ -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
|
||||
|
Reference in New Issue
Block a user