Improve readability of the Travis job log

Use quiet mode in git checkout to suppress a dozen lines of output.
Also added a blank line of output just before attempting to get the
private tests.
This commit is contained in:
Daniel Thayer 2018-08-23 12:21:48 -05:00
parent 45338b1942
commit 419b5d9ee0

View file

@ -199,15 +199,21 @@ run() {
fi fi
if [ -d bro-testing ]; then if [ -d bro-testing ]; then
( cd bro-testing && git checkout `cat ../commit-hash.bro-testing` ) commit=`cat commit-hash.bro-testing`
echo "Checking out $commit"
( cd bro-testing && git checkout -q $commit )
fi fi
echo
if [ ! -d bro-testing-private ]; then if [ ! -d bro-testing-private ]; then
get_private_tests get_private_tests
fi fi
if [ -d bro-testing-private ]; then if [ -d bro-testing-private ]; then
( cd bro-testing-private && git checkout `cat ../commit-hash.bro-testing-private` ) commit=`cat commit-hash.bro-testing-private`
echo "Checking out $commit"
( cd bro-testing-private && git checkout -q $commit )
fi fi
echo echo