Skip to content

Commit 49a13ee

Browse files
committed
Make more build steps verbose so we hopefully see test failures when we need to
(cherry picked from commit 97c4b21)
1 parent 1726695 commit 49a13ee

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.travis-ci.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if [[ $TASK = 'lint' ]]; then
5353
# the following is a bit of a hack to build the files normally built during
5454
# the build, so they are present for linting to run against
5555
travis_fold start "make_builtfiles"
56-
make builtfiles;
56+
make builtfiles VERBOSE=1;
5757
travis_fold end "make_builtfiles"
5858
# first check we've not got any generic NOLINTs
5959
# count the number of generic NOLINTs
@@ -67,7 +67,7 @@ if [[ $TASK = 'lint' ]]; then
6767
echo "Found $nolints generic NOLINTs"
6868
fi;
6969
# run the cpplint tool, fetching it if necessary
70-
make cpplint
70+
make cpplint VERBOSE=1
7171
elif [[ $TASK = 'check-licences' ]]; then
7272
# check licences only if it is the requested task
7373
travis_fold start "autoreconf"
@@ -79,7 +79,7 @@ elif [[ $TASK = 'check-licences' ]]; then
7979
# the following is a bit of a hack to build the files normally built during
8080
# the build, so they are present for licence checking to run against
8181
travis_fold start "make_builtfiles"
82-
make builtfiles;
82+
make builtfiles VERBOSE=1;
8383
travis_fold end "make_builtfiles"
8484
./scripts/enforce_licence.py
8585
if [[ $? -ne 0 ]]; then
@@ -96,7 +96,7 @@ elif [[ $TASK = 'spellintian' ]]; then
9696
# the following is a bit of a hack to build the files normally built during
9797
# the build, so they are present for spellintian to run against
9898
travis_fold start "make_builtfiles"
99-
make builtfiles;
99+
make builtfiles VERBOSE=1;
100100
travis_fold end "make_builtfiles"
101101
spellingfiles=$(eval "find ./ -type f -and ! \( \
102102
$SPELLINGBLACKLIST \
@@ -122,7 +122,7 @@ elif [[ $TASK = 'spellintian-duplicates' ]]; then
122122
# the following is a bit of a hack to build the files normally built during
123123
# the build, so they are present for spellintian to run against
124124
travis_fold start "make_builtfiles"
125-
make builtfiles;
125+
make builtfiles VERBOSE=1;
126126
travis_fold end "make_builtfiles"
127127
spellingfiles=$(eval "find ./ -type f -and ! \( \
128128
$SPELLINGBLACKLIST \
@@ -148,7 +148,7 @@ elif [[ $TASK = 'codespell' ]]; then
148148
# the following is a bit of a hack to build the files normally built during
149149
# the build, so they are present for codespell to run against
150150
travis_fold start "make_builtfiles"
151-
make builtfiles;
151+
make builtfiles VERBOSE=1;
152152
travis_fold end "make_builtfiles"
153153
spellingfiles=$(eval "find ./ -type f -and ! \( \
154154
$SPELLINGBLACKLIST \
@@ -175,13 +175,13 @@ elif [[ $TASK = 'doxygen' ]]; then
175175
# the following is a bit of a hack to build the files normally built during
176176
# the build, so they are present for Doxygen to run against
177177
travis_fold start "make_builtfiles"
178-
make builtfiles;
178+
make builtfiles VERBOSE=1;
179179
travis_fold end "make_builtfiles"
180180
# count the number of warnings
181181
warnings=$(make doxygen-doc 2>&1 >/dev/null | wc -l)
182182
if [[ $warnings -ne 0 ]]; then
183183
# print the output for info
184-
make doxygen-doc
184+
make doxygen-doc VERBOSE=1
185185
echo "Found $warnings doxygen warnings"
186186
exit 1;
187187
else
@@ -227,7 +227,7 @@ elif [[ $TASK = 'flake8' ]]; then
227227
# the following is a bit of a hack to build the files normally built during
228228
# the build, so they are present for flake8 to run against
229229
travis_fold start "make_builtfiles"
230-
make builtfiles;
230+
make builtfiles VERBOSE=1;
231231
travis_fold end "make_builtfiles"
232232
make flake8
233233
else
@@ -245,7 +245,7 @@ else
245245
./configure $DISTCHECK_CONFIGURE_FLAGS;
246246
travis_fold end "configure"
247247
travis_fold start "make_distcheck"
248-
make distcheck;
248+
make distcheck VERBOSE=1;
249249
travis_fold end "make_distcheck"
250250
travis_fold start "make_dist"
251251
make dist;

0 commit comments

Comments
 (0)