chiark / gitweb /
Rename config.h to nlopt_config.h
[nlopt.git] / .travis.yml
index 92021c4cecc4fdf56ebe15d0c462351619c5d579..84e040e162fcb52dbe61af866f3d400677d406cb 100644 (file)
@@ -33,8 +33,10 @@ matrix:
     - os: osx
       install:
         - brew tap homebrew/python
-        - brew install swig python
+        - brew tap homebrew/science
+        - brew update
+        - brew install swig octave guile || echo "nope"
       script:
         - mkdir build && pushd build
-        - cmake -DCMAKE_INSTALL_PREFIX=~/.local  -DWITH_CXX=ON ..
-        - make install && make tests && ctest --output-on-failure
\ No newline at end of file
+        - 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