Skip to content

Commit c27a6e1

Browse files
HDembinskiwjakob
authored andcommitted
make builds with python tests and cpp tests fail if either one fails (pybind#1967)
1 parent 759221f commit c27a6e1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ matrix:
3232
- |
3333
# Barebones build
3434
cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD) .
35-
make pytest -j 2
36-
make cpptest -j 2
35+
make pytest -j 2 && make cpptest -j 2
3736
# The following are regular test configurations, including optional dependencies.
3837
# With regard to each other they differ in Python version, C++ standard and compiler.
3938
- os: linux
@@ -131,8 +130,7 @@ matrix:
131130
- |
132131
# Barebones build
133132
cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD) .
134-
make pytest -j 2
135-
make cpptest -j 2
133+
make pytest -j 2 && make cpptest -j 2
136134
- os: osx
137135
name: Python 2.7, c++14, AppleClang 7.3, CMake test
138136
osx_image: xcode7.3

0 commit comments

Comments
 (0)