From 6f3e5e38c90c69f5758365fb1c3b31c8c5a557bc Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 23 Jul 2020 17:21:55 -0400 Subject: [PATCH] ci: keep travis from running twice --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 30a9465a..91f9c9de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,11 @@ language: cpp + +branches: + only: + - master + - stable + - /^v\d/ + matrix: include: # This config does a few things: @@ -33,6 +40,7 @@ matrix: # Barebones build cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD) . make pytest -j 2 && make cpptest -j 2 + # The following are regular test configurations, including optional dependencies. # With regard to each other they differ in Python version, C++ standard and compiler. - os: linux