From 780de49ddb70272374e96995037e46de189e1bb4 Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Fri, 27 Mar 2020 19:37:58 +0800 Subject: [PATCH] Resolve travis failure. (#5445) * Install dependencies by pip. --- tests/travis/run_test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/travis/run_test.sh b/tests/travis/run_test.sh index 4a01455d84b9..bcc2b4d305c0 100755 --- a/tests/travis/run_test.sh +++ b/tests/travis/run_test.sh @@ -27,11 +27,12 @@ if [ ${TASK} == "python_test" ]; then echo "-------------------------------" conda activate python3 + conda --version python --version - conda install numpy scipy pandas matplotlib scikit-learn dask python -m pip install graphviz pytest pytest-cov codecov python -m pip install datatable + python -m pip install numpy scipy pandas matplotlib scikit-learn dask[complete] python -m pytest -v --fulltrace -s tests/python --cov=python-package/xgboost || exit -1 codecov fi