File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -176,19 +176,20 @@ install:
176176 fi
177177
178178script :
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
You can’t perform that action at this time.
0 commit comments