This commit is contained in:
tqchen 2015-07-29 20:10:29 -07:00
parent 2ab6907fe2
commit 24a188588a
2 changed files with 10 additions and 5 deletions

View File

@ -5,7 +5,8 @@ if [ ${TRAVIS_OS_NAME} != "osx" ]; then
fi
brew update
brew install unzip
brew install python-numpy
brew install python-scipy
brew install python-nose
if [ ${TASK} == "python-package" ]; then
brew install python git
easy_install pip scipy numpy
fi

View File

@ -18,7 +18,11 @@ fi
if [ ${TASK} == "build-with-dmlc" ]; then
cd dmlc-core
cp make/config.mk .
echo "USE_S3=1" >> config.mk
if [ ${TRAVIS_OS_NAME} != "osx" ]; then
echo "USE_S3=1" >> config.mk
else
echo "USE_S3=0" >> config.mk
fi
make all CXX=${CXX}|| exit -1
cd ..
make dmlc=dmlc-core CXX=${CXX} || exit -1