Skip to content

Commit

Permalink
[MXNET-311] change test needs a docker with sudo, hence image changed (
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaijal authored and marcoabreu committed Apr 12, 2018
1 parent 4aa9de3 commit 42955d6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/jenkins/run_test_installation_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -298,17 +298,20 @@ LINUX_PYTHON_GPU_END_LINENO=$(grep -n "END - Linux Python GPU Installation Instr

set_instruction_set ${LINUX_PYTHON_GPU_START_LINENO} ${LINUX_PYTHON_GPU_END_LINENO}


# mxnet/base-cuda9 is a simple Docker Image with 'nvidia/cuda:9.0-cudnn7-devel' and 'apt-get install sudo'.

echo
echo "### Testing Virtualenv ###"
echo "${virtualenv_commands}"
echo
nvidia-docker run --rm nvidia/cuda:9.0-cudnn7-devel bash -c "${virtualenv_commands}"
nvidia-docker run --rm mxnet/base-cuda9 bash -c "${virtualenv_commands}"

echo
echo "### Testing Pip ###"
echo "${pip_commands}"
echo
nvidia-docker run --rm nvidia/cuda:9.0-cudnn7-devel bash -c "${pip_commands}"
nvidia-docker run --rm mxnet/base-cuda9 bash -c "${pip_commands}"

echo
echo "### Testing Docker ###"
Expand All @@ -320,4 +323,4 @@ echo
echo "### Testing Build From Source ###"
echo "${buildfromsource_commands}"
echo
nvidia-docker run --rm nvidia/cuda:9.0-cudnn7-devel bash -c "${buildfromsource_commands}"
nvidia-docker run --rm mxnet/base-cuda9 bash -c "${buildfromsource_commands}"

0 comments on commit 42955d6

Please sign in to comment.