Skip to content

Commit 68a306c

Browse files
committed
Add debug output to .travis.yml
1 parent 3dbf00f commit 68a306c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,19 +176,20 @@ install:
176176
fi
177177
178178
script:
179+
- echo "In Travis-CI 'script' section."
179180
- |
180181
if [[ ${BUILD_TYPE} == InstallScript ]]; then
181182
./install.sh --yes-to-all -i "${HOME}/opencoarrays" -j 4 -f "$(type -P "${FC}")" -c "$(type -P "${CC}")" -C "$(type -P "${CXX}")"
182183
cd prerequisites/builds/opencoarrays/*
183184
../../../installations/cmake/*/bin/ctest --output-on-failure --schedule-random --repeat-until-fail 7
184185
cd -
185186
else
186-
mkdir cmake-build
187+
mkdir cmake-build || echo "Cannot mkdir cmake-build"
187188
for BUILD_TYPE in ${BUILD_TYPES}; do
188189
rm -rf cmake-build/* || true
189-
cd cmake-build
190-
cmake -DCMAKE_INSTALL_PREFIX:PATH="${HOME}/OpenCoarrays" -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" ..
191-
make -j 4
190+
cd cmake-build || echo 'cannot cd to cmake-build/'
191+
cmake -DCMAKE_INSTALL_PREFIX:PATH="${HOME}/OpenCoarrays" -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" .. || echo "running cmake failed"
192+
make -j 4 || echo "running make failed"
192193
ctest --output-on-failure --schedule-random --repeat-until-fail 7
193194
make install
194195
make uninstall

0 commit comments

Comments
 (0)