mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
![Lars Schneider](/assets/img/avatar_default.png)
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>
11 lines
140 B
Bash
Executable file
11 lines
140 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Test Git
|
|
#
|
|
|
|
. ${0%/*}/lib-travisci.sh
|
|
|
|
mkdir -p $HOME/travis-cache
|
|
ln -s $HOME/travis-cache/.prove t/.prove
|
|
make --quiet test
|