Skip to content

Commit 10dd778

Browse files
author
Alexander Korotkov
committed
Fix travis folding.
1 parent a667714 commit 10dd778

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

travis/pg-travis-test.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eux
44

5-
echo 'PostgreSQL installation' && echo -en 'travis_fold:start:pg_install\\r'
5+
echo -en 'travis_fold:start:pg_install\\r' && echo 'PostgreSQL installation'
66

77
sudo apt-get update
88

@@ -52,7 +52,7 @@ echo -en 'travis_fold:end:pg_install\\r'
5252

5353
# perform code analysis if necessary
5454
if [ $CHECK_TYPE = "static" ]; then
55-
echo 'Static analysis' && echo -en 'travis_fold:start:static_analysis\\r'
55+
echo -en 'travis_fold:start:static_analysis\\r' && echo 'Static analysis'
5656

5757
if [ "$CC" = "clang" ]; then
5858
sudo apt-get -y install -qq clang-$LLVM_VER
@@ -82,7 +82,7 @@ if [ $CHECK_TYPE = "static" ]; then
8282
exit $status
8383
fi
8484

85-
echo 'Build extension' && echo -en 'travis_fold:start:build_extension\\r'
85+
echo -en 'travis_fold:start:build_extension\\r' && echo 'Build extension'
8686

8787
# build extension (using CFLAGS_SL for gcov)
8888
if [ $CHECK_TYPE == "valgrind" ]; then
@@ -99,7 +99,7 @@ if [ $status -ne 0 ]; then exit $status; fi
9999

100100
echo -en 'travis_fold:end:build_extension\\r'
101101

102-
echo 'Run tests' && echo -en 'travis_fold:start:run_tests\\r'
102+
echo -en 'travis_fold:start:run_tests\\r' && echo 'Run tests'
103103

104104
# enable core dumps and specify their path
105105
ulimit -c unlimited -S
@@ -132,7 +132,7 @@ $pg_ctl_path -D $CLUSTER_PATH stop -l postgres.log -w
132132

133133
echo -en 'travis_fold:end:run_tests\\r'
134134

135-
echo 'Check output' && echo -en 'travis_fold:start:output\\r'
135+
echo -en 'travis_fold:start:output\\r' && echo 'Check output'
136136

137137
# show diff if it exists
138138
if test -f regression.diffs; then cat regression.diffs; fi
@@ -157,7 +157,7 @@ done
157157

158158
echo -en 'travis_fold:end:output\\r'
159159

160-
echo 'Coverage check' && echo -en 'travis_fold:start:coverage\\r'
160+
echo -en 'travis_fold:start:coverage\\r' && echo 'Coverage check'
161161

162162
#generate *.gcov files
163163
if [ $CC = "clang" ]; then

0 commit comments

Comments
 (0)