From eefd48e266af6b62788356a3cf9fb2a15f3f9395 Mon Sep 17 00:00:00 2001 From: Matthieu Darbois Date: Tue, 11 Mar 2025 21:44:25 +0100 Subject: [PATCH] chore: only build on push to main for Travis CI (#2295) --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index f3989233..ec2365a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,9 @@ branches: only: - main +# only build the main branch or PR that explicitely want to test with Travis CI +if: (type = "push") OR (commit_message =~ /travis-ci/) + jobs: include: - name: Linux | x86_64 + i686 | Python 3.12