ok
This commit is contained in:
parent
2ab6907fe2
commit
24a188588a
@ -5,7 +5,8 @@ if [ ${TRAVIS_OS_NAME} != "osx" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
brew update
|
brew update
|
||||||
brew install unzip
|
|
||||||
brew install python-numpy
|
if [ ${TASK} == "python-package" ]; then
|
||||||
brew install python-scipy
|
brew install python git
|
||||||
brew install python-nose
|
easy_install pip scipy numpy
|
||||||
|
fi
|
||||||
|
|||||||
@ -18,7 +18,11 @@ fi
|
|||||||
if [ ${TASK} == "build-with-dmlc" ]; then
|
if [ ${TASK} == "build-with-dmlc" ]; then
|
||||||
cd dmlc-core
|
cd dmlc-core
|
||||||
cp make/config.mk .
|
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
|
make all CXX=${CXX}|| exit -1
|
||||||
cd ..
|
cd ..
|
||||||
make dmlc=dmlc-core CXX=${CXX} || exit -1
|
make dmlc=dmlc-core CXX=${CXX} || exit -1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user