Skip to content

Commit 6f3e5e3

Browse files
committed
ci: keep travis from running twice
1 parent 5c936d4 commit 6f3e5e3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
language: cpp
2+
3+
branches:
4+
only:
5+
- master
6+
- stable
7+
- /^v\d/
8+
29
matrix:
310
include:
411
# This config does a few things:
@@ -33,6 +40,7 @@ matrix:
3340
# Barebones build
3441
cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD) .
3542
make pytest -j 2 && make cpptest -j 2
43+
3644
# The following are regular test configurations, including optional dependencies.
3745
# With regard to each other they differ in Python version, C++ standard and compiler.
3846
- os: linux

0 commit comments

Comments
 (0)