Skip to content

Commit

Permalink
Merge pull request #210 from libKriging/trycatch-python3-call
Browse files Browse the repository at this point in the history
Update before_script.sh
  • Loading branch information
hpwxf committed Jun 30, 2022
2 parents e62d32b + 0a1c75a commit a02fc36
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis-ci/common/before_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@ if [[ "$DEBUG_CI" == "true" ]]; then
# Python3 is named python in Windows, but we add a symlink
if ( command -v python3 >/dev/null 2>&1 ); then
echo "Python3 config: $(command -v python3)"
python3 --version 2>&1 | sed 's/^/ /'
{
python3 --version 2>&1 | sed 's/^/ /'
} || {
echo "Cannot execute python3 --version"
}
else
echo "No python3 command found"
fi
Expand Down

0 comments on commit a02fc36

Please sign in to comment.