Commit c27a6e13 by Hans Dembinski Committed by Wenzel Jakob

make builds with python tests and cpp tests fail if either one fails (#1967)

parent 759221f5
...@@ -32,8 +32,7 @@ matrix: ...@@ -32,8 +32,7 @@ matrix:
- | - |
# Barebones build # Barebones build
cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD) . cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD) .
make pytest -j 2 make pytest -j 2 && make cpptest -j 2
make cpptest -j 2
# The following are regular test configurations, including optional dependencies. # The following are regular test configurations, including optional dependencies.
# With regard to each other they differ in Python version, C++ standard and compiler. # With regard to each other they differ in Python version, C++ standard and compiler.
- os: linux - os: linux
...@@ -131,8 +130,7 @@ matrix: ...@@ -131,8 +130,7 @@ matrix:
- | - |
# Barebones build # Barebones build
cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD) . cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD) .
make pytest -j 2 make pytest -j 2 && make cpptest -j 2
make cpptest -j 2
- os: osx - os: osx
name: Python 2.7, c++14, AppleClang 7.3, CMake test name: Python 2.7, c++14, AppleClang 7.3, CMake test
osx_image: xcode7.3 osx_image: xcode7.3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment