xgboost/tests/ci_build/test_gpu.sh
Philip Hyunsu Cho c0bd296354
Fix #3730: scikit-learn 0.20 compatibility fix (#3731)
* Fix #3730: scikit-learn 0.20 compatibility fix

sklearn.cross_validation has been removed from scikit-learn 0.20,
so replace it with sklearn.model_selection

* Display test names for Python tests for clarity
2018-09-27 15:04:25 -07:00

10 lines
149 B
Bash
Executable File

#!/usr/bin/env bash
set -e
cd python-package
python setup.py install --user
cd ..
python -m nose -v --attr='!slow' tests/python-gpu/
./testxgboost