Added scikit-learn from Conda

This commit is contained in:
terrytangyuan 2015-10-21 21:30:11 -05:00
parent 1080dc256a
commit 652ff07668
2 changed files with 2 additions and 2 deletions

View File

@ -32,10 +32,10 @@ addons:
- unzip - unzip
- python-numpy - python-numpy
- python-scipy - python-scipy
- python-sklearn
before_install: before_install:
- scripts/travis_osx_install.sh - scripts/travis_osx_install.sh
- scripts/travis_script.sh
- git clone https://github.com/dmlc/dmlc-core - git clone https://github.com/dmlc/dmlc-core
- export TRAVIS=dmlc-core/scripts/travis/ - export TRAVIS=dmlc-core/scripts/travis/
- export PYTHONPATH=${PYTHONPATH}:${PWD}/python-package - export PYTHONPATH=${PYTHONPATH}:${PWD}/python-package

View File

@ -64,7 +64,7 @@ if [ ${TASK} == "python-package" -o ${TASK} == "python-package3" ]; then
conda create -n myenv python=2.7 conda create -n myenv python=2.7
fi fi
source activate myenv source activate myenv
conda install numpy scipy pandas matplotlib nose conda install numpy scipy pandas matplotlib nose scikit-learn
python -m pip install graphviz python -m pip install graphviz
make all CXX=${CXX} || exit -1 make all CXX=${CXX} || exit -1