chiark / gitweb /
Merge pull request #93 from jschueller/libcpp
[nlopt.git] / .travis.yml
index 487aa4e6aa9a3eb0d8ff614b32b99c4a3faf77e9..fd3ae488744253173994780e1ee2062bf623e971 100644 (file)
@@ -32,11 +32,10 @@ matrix:
 
     - os: osx
       install:
-        - brew tap homebrew/python
         - brew tap homebrew/science
         - brew update
-        - brew install swig numpy octave guile || echo "nope"
+        - brew install swig octave guile || echo "nope"
       script:
         - mkdir build && pushd build
-        - cmake -DCMAKE_INSTALL_PREFIX=~/.local -DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++" -DWITH_CXX=ON ..
+        - cmake -DCMAKE_INSTALL_PREFIX=~/.local -DWITH_CXX=ON -DPYTHON_EXECUTABLE=/usr/bin/python ..
         - make install && make tests && ctest --output-on-failure