mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 22:52:01 +00:00
ci: keep travis from running twice
This commit is contained in:
parent
5c936d4b22
commit
6f3e5e38c9
@ -1,4 +1,11 @@
|
|||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- stable
|
||||||
|
- /^v\d/
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
# This config does a few things:
|
# This config does a few things:
|
||||||
@ -33,6 +40,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 cpptest -j 2
|
make pytest -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
|
||||||
|
Loading…
Reference in New Issue
Block a user