Skip to content

Commit e7a52c3

Browse files
committed
enabled tracing whenever running in travis
1 parent 0bb6281 commit e7a52c3

25 files changed

+25
-0
lines changed

tests/all.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#
1515

1616
set -euo pipefail
17+
[ -n "${TRAVIS:-}" ] && set -x
1718
srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1819

1920
echo "

tests/check.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#
1515

1616
set -euo pipefail
17+
[ -n "${TRAVIS:-}" ] && set -x
1718

1819
check(){
1920
cmd=$1

tests/compile.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#
1515

1616
set -eu
17+
[ -n "${TRAVIS:-}" ] && set -x
1718
srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1819

1920
cd "$srcdir/..";

tests/excluded.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# split from utils.sh as this is specific to this repo
1919

2020
set -eu
21+
[ -n "${TRAVIS:-}" ] && set -x
2122

2223
isExcluded(){
2324
local prog="$1"

tests/help.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#
1515

1616
set -eu
17+
[ -n "${TRAVIS:-}" ] && set -x
1718
srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1819

1920
cd "$srcdir/..";

tests/pylint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#
1515

1616
set -eu
17+
[ -n "${TRAVIS:-}" ] && set -x
1718
srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1819

1920
cd "$srcdir/..";

tests/python3.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#
1515

1616
set -eu
17+
[ -n "${TRAVIS:-}" ] && set -x
1718
srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1819

1920
cd "$srcdir/..";

tests/syntax.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#
1515

1616
set -eu
17+
[ -n "${TRAVIS:-}" ] && set -x
1718
srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1819

1920
cd "$srcdir/..";

tests/test_headtail.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#
1515

1616
set -euo pipefail
17+
[ -n "${TRAVIS:-}" ] && set -x
1718
srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1819

1920
echo "

tests/test_json.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#
1515

1616
set -eu
17+
[ -n "${TRAVIS:-}" ] && set -x
1718
srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1819

1920
echo "

0 commit comments

Comments
 (0)