Add barebones build to Travis CI

This build makes sure everything still works without optional
dependencies (numpy/scipy/eigen) and also tests the automatic
discovery functions in CMake (Python version, C++ standard).

[skip appveyor]
This commit is contained in:
Dean Moldovan
2016-08-25 22:35:15 +02:00
parent 7b748cef3b
commit b62a896f31
2 changed files with 52 additions and 52 deletions

View File

@@ -41,7 +41,7 @@ if(NOT MSVC AND NOT PYBIND11_CPP_STANDARD)
endif()
set(PYBIND11_CPP_STANDARD ${PYBIND11_CPP_STANDARD} CACHE STRING
"C++ standard flag, e.g. -std=c++11 or -std=c++14. Defaults to latest available.")
"C++ standard flag, e.g. -std=c++11 or -std=c++14. Defaults to latest available." FORCE)
endif()
# Cache variables so pybind11_add_module can be used in parent projects