larroy commented on a change in pull request #10827: [MXNET-405][WIP] Add 2 new
pipelines to the Official CI and run nightly tests.
URL: https://github.com/apache/incubator-mxnet/pull/10827#discussion_r195084977
##########
File path: tests/jenkins/run_test_installation_docs.sh
##########
@@ -262,29 +262,47 @@ LINUX_PYTHON_CPU_END_LINENO=$(grep -n "END - Linux
Python CPU Installation Instr
set_instruction_set ${LINUX_PYTHON_CPU_START_LINENO}
${LINUX_PYTHON_CPU_END_LINENO}
-echo
-echo "### Testing Virtualenv ###"
-echo "${virtualenv_commands}"
-echo
-docker run --rm ubuntu:14.04 bash -c "${virtualenv_commands}"
+ubuntu_python_cpu_virtualenv()
+{
+ echo
+ echo "### Testing Virtualenv ###"
+ echo "${virtualenv_commands}" #> "$filewithcommands"
+ echo
+ eval ${virtualenv_commands}
+ echo "ubuntu_python_cpu_virtualenv: MXNet Installed Successfully"
+}
-echo
-echo "### Testing Pip ###"
-echo "${pip_commands}"
-echo
-docker run --rm ubuntu:14.04 bash -c "${pip_commands}"
+ubuntu_python_cpu_pip()
+{
+ echo
Review comment:
These functions should use set -e
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services