[CI] Fix broken Docker container 'cpu' (#5956)

This commit is contained in:
Philip Hyunsu Cho
2020-07-29 04:29:57 -07:00
committed by GitHub
parent f5fdcbe194
commit 071e10c1d1
7 changed files with 42 additions and 10 deletions

View File

@@ -127,7 +127,7 @@ def TestWin64() {
bat "build\\testxgboost.exe"
echo "Installing Python dependencies..."
def env_name = 'win64_' + UUID.randomUUID().toString().replaceAll('-', '')
bat "conda env create -n ${env_name} --file=tests/ci_build/win64_conda_env.yml"
bat "conda env create -n ${env_name} --file=tests/ci_build/conda_env/win64_test.yml"
echo "Installing Python wheel..."
bat """
conda activate ${env_name} && for /R %%i in (python-package\\dist\\*.whl) DO python -m pip install "%%i"