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:
176
176
fi
177
177
178
178
script :
179
+ - echo "In Travis-CI 'script' section."
179
180
- |
180
181
if [[ ${BUILD_TYPE} == InstallScript ]]; then
181
182
./install.sh --yes-to-all -i "${HOME}/opencoarrays" -j 4 -f "$(type -P "${FC}")" -c "$(type -P "${CC}")" -C "$(type -P "${CXX}")"
182
183
cd prerequisites/builds/opencoarrays/*
183
184
../../../installations/cmake/*/bin/ctest --output-on-failure --schedule-random --repeat-until-fail 7
184
185
cd -
185
186
else
186
- mkdir cmake-build
187
+ mkdir cmake-build || echo "Cannot mkdir cmake-build"
187
188
for BUILD_TYPE in ${BUILD_TYPES}; do
188
189
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"
192
193
ctest --output-on-failure --schedule-random --repeat-until-fail 7
193
194
make install
194
195
make uninstall
You can’t perform that action at this time.
0 commit comments