chiark / gitweb /
Rename config.h to nlopt_config.h
[nlopt.git] / .travis.yml
index 487aa4e6aa9a3eb0d8ff614b32b99c4a3faf77e9..84e040e162fcb52dbe61af866f3d400677d406cb 100644 (file)
@@ -35,8 +35,8 @@ matrix:
         - 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 -DCMAKE_CXX_FLAGS="-std=c++11" -DWITH_CXX=ON -DPYTHON_EXECUTABLE=/usr/bin/python ..
         - make install && make tests && ctest --output-on-failure