Added scikit-learn from Conda
This commit is contained in:
parent
1080dc256a
commit
652ff07668
@ -32,10 +32,10 @@ addons:
|
||||
- unzip
|
||||
- python-numpy
|
||||
- python-scipy
|
||||
- python-sklearn
|
||||
|
||||
before_install:
|
||||
- scripts/travis_osx_install.sh
|
||||
- scripts/travis_script.sh
|
||||
- git clone https://github.com/dmlc/dmlc-core
|
||||
- export TRAVIS=dmlc-core/scripts/travis/
|
||||
- export PYTHONPATH=${PYTHONPATH}:${PWD}/python-package
|
||||
|
||||
@ -64,7 +64,7 @@ if [ ${TASK} == "python-package" -o ${TASK} == "python-package3" ]; then
|
||||
conda create -n myenv python=2.7
|
||||
fi
|
||||
source activate myenv
|
||||
conda install numpy scipy pandas matplotlib nose
|
||||
conda install numpy scipy pandas matplotlib nose scikit-learn
|
||||
python -m pip install graphviz
|
||||
|
||||
make all CXX=${CXX} || exit -1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user