tests: do not set -x by default on Travis (#1318)

This is rather noisy, and the test runner should not require this anymore for debugging.

[ci skip]
This commit is contained in:
Daniel Hahler 2016-12-28 12:43:00 +01:00 committed by GitHub
parent d13f465374
commit 58773488e4
1 changed files with 4 additions and 4 deletions

View File

@ -15,8 +15,8 @@ set -e
export SHELL=/bin/sh export SHELL=/bin/sh
export HOME=/dev/null export HOME=/dev/null
# Be verbose on Travis. VERBOSE=${VERBOSE-0}
if [ "$CI" = true ]; then if [ "$VERBOSE" = 1 ]; then
set -x set -x
fi fi
@ -99,7 +99,7 @@ awesome_log=$tmp_files/_awesome_test.log
echo "awesome_log: $awesome_log" echo "awesome_log: $awesome_log"
wait_until_success() { wait_until_success() {
if [ "$CI" = true ]; then if [ "$VERBOSE" = 1 ]; then
set +x set +x
fi fi
wait_count=60 # 60*0.05s => 3s. wait_count=60 # 60*0.05s => 3s.
@ -124,7 +124,7 @@ wait_until_success() {
fi fi
sleep 0.05 sleep 0.05
done done
if [ "$CI" = true ]; then if [ "$VERBOSE" = 1 ]; then
set -x set -x
fi fi
} }