Skip to content

Commit

Permalink
Resolve travis failure. (#5445)
Browse files Browse the repository at this point in the history
* Install dependencies by pip.
  • Loading branch information
trivialfis committed Mar 27, 2020
1 parent 4942da6 commit 780de49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/travis/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 780de49

Please sign in to comment.