diff --git a/scripts/travis_osx_install.sh b/scripts/travis_osx_install.sh new file mode 100755 index 000000000..d82dfe63d --- /dev/null +++ b/scripts/travis_osx_install.sh @@ -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 diff --git a/scripts/travis_script.sh b/scripts/travis_script.sh index d382a1a2e..3717c2ed2 100755 --- a/scripts/travis_script.sh +++ b/scripts/travis_script.sh @@ -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