fix mac build
This commit is contained in:
parent
26675e6dcd
commit
f44511e94d
11
scripts/travis_osx_install.sh
Executable file
11
scripts/travis_osx_install.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ${TRAVIS_OS_NAME} != "osx" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
brew update
|
||||
brew install unzip
|
||||
brew install python-numpy
|
||||
brew install python-scipy
|
||||
brew install python-nose
|
||||
@ -7,6 +7,10 @@ if [ ${TASK} == "lint" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ${TRAVIS_OS_NAME} != "osx" ]; then
|
||||
export no_omp=1
|
||||
fi
|
||||
|
||||
if [ ${TASK} == "build" ]; then
|
||||
make all CXX=${CXX} || exit -1
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user