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
5
ci/lib-travisci.sh
Executable file
5
ci/lib-travisci.sh
Executable file
@ -0,0 +1,5 @@
|
||||
# Library of functions shared by all CI scripts
|
||||
|
||||
# Set 'exit on error' for all CI scripts to let the caller know that
|
||||
# something went wrong
|
||||
set -e
|
Reference in New Issue
Block a user