From a604c5bfff4b55abaed91735a79e9380323067cf Mon Sep 17 00:00:00 2001 From: pancake Date: Sat, 6 Oct 2018 04:12:15 +0200 Subject: [PATCH] Git clone in quiet mode to shrink travis logs --- .travis.yml | 2 +- shlr/capstone.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index eddd17d93a..223bd08d98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ cache: - ccache before_install: - - if [ "$TRAVIS_OS_NAME" != "osx" ]; then docker pull radareorg/r2-travis:latest || docker build -t radareorg/r2-travis:latest -f Dockerfile.travis . ; else rm -rf .nvm && git clone https://github.com/creationix/nvm.git .nvm && (cd .nvm && git checkout `git describe --abbrev=0 --tags`) && . .nvm/nvm.sh && nvm install 8.11.3; fi + - if [ "$TRAVIS_OS_NAME" != "osx" ]; then docker pull radareorg/r2-travis:latest || docker build -t radareorg/r2-travis:latest -f Dockerfile.travis . ; else rm -rf .nvm && git clone -q https://github.com/creationix/nvm.git .nvm && (cd .nvm && git checkout `git describe --abbrev=0 --tags`) && . .nvm/nvm.sh && nvm install 8.11.3; fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libuv ; fi script: diff --git a/shlr/capstone.sh b/shlr/capstone.sh index 65c8ca7f93..a474210bb6 100755 --- a/shlr/capstone.sh +++ b/shlr/capstone.sh @@ -6,7 +6,7 @@ CS_REV="$4" # revert clone_capstone() { if [ ! -d capstone ]; then - git clone -b "${CS_BRA}" --depth 10 "${CS_URL}" capstone || exit 1 + git clone -q -b "${CS_BRA}" --depth 10 "${CS_URL}" capstone || exit 1 fi cd capstone || exit 1 if [ -n "${CS_REV}" ]; then