travis-ci: move Travis CI code into dedicated scripts
commit657343a602ec5eddae6074656bfd0e8a91aaa8e8
authorLars Schneider <larsxschneider@gmail.com>
Sun, 10 Sep 2017 14:44:28 +0000 (10 16:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Sep 2017 00:54:08 +0000 (11 09:54 +0900)
treebe2c14f9235302d0971f02a6560c2981d87f5576
parentedc74bc7f0c6884027e851ef09b2e0c9380dcd45
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>
.travis.yml
ci/install-dependencies.sh [new file with mode: 0755]
ci/lib-travisci.sh [new file with mode: 0755]
ci/print-test-failures.sh [new file with mode: 0755]
ci/run-build.sh [new file with mode: 0755]
ci/run-linux32-docker.sh [new file with mode: 0755]
ci/run-static-analysis.sh [new file with mode: 0755]
ci/run-tests.sh [new file with mode: 0755]
ci/run-windows-build.sh
ci/test-documentation.sh