Try to fix MKL path on travis
@@ -13,6 +13,17 @@ export PATH=${DEPS_DIR}/miniconda/bin:$PATH
hash -r
source activate testenv
+# Add MKL shared libraries to the path
+MKL_SHARED_LIB_DIR=`ls -d ${DEPS_DIR}/miniconda/pkgs/*/lib | grep mkl-2 | tail -1`
+if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
+ export LD_LIBRARY_PATH=${MKL_SHARED_LIB_DIR}:${LD_LIBRARY_PATH}
+else if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+ export DYLD_LIBRARY_PATH=${MKL_SHARED_LIB_DIR}:${DYLD_LIBRARY_PATH}
+fi
+fi
+
+
+
# Test C interface
# ---------------------------------------------------
