From 027f2ca58f1a80f81205b401846a8b6c70b88fee Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 25 Jan 2020 11:56:34 +0300 Subject: Travis: prettier test output --- .travis/local/test.sh | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to '.travis/local') diff --git a/.travis/local/test.sh b/.travis/local/test.sh index 90c7cd2..5cc1fdd 100755 --- a/.travis/local/test.sh +++ b/.travis/local/test.sh @@ -8,6 +8,11 @@ readonly my_repos_path="$HOME/etc/cgit-repos/my_repos.py" readonly output_path="$HOME/var/cgit-repos/output" setup_local_repo() { + echo + echo ---------------------------------------------------------------------- + echo Setting up upstream repository + echo ---------------------------------------------------------------------- + mkdir -p -- "$local_repo_path" pushd -- "$local_repo_path" > /dev/null @@ -23,11 +28,16 @@ setup_local_repo() { } setup_cgit_repos_conf() { + echo + echo ---------------------------------------------------------------------- + echo cgit-repos.conf + echo ---------------------------------------------------------------------- + local conf_dir conf_dir="$( dirname -- "$cgit_repos_conf_path" )" mkdir -p -- "$conf_dir" - cat < "$cgit_repos_conf_path" + cat < "$my_repos_path" + cat < /dev/null cd -- test_repo git log --oneline -- cgit v1.2.3