Skip to content

Commit eefd48e

Browse files
authored
chore: only build on push to main for Travis CI (#2295)
1 parent 915d15c commit eefd48e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ branches:
66
only:
77
- main
88

9+
# only build the main branch or PR that explicitely want to test with Travis CI
10+
if: (type = "push") OR (commit_message =~ /travis-ci/)
11+
912
jobs:
1013
include:
1114
- name: Linux | x86_64 + i686 | Python 3.12

0 commit comments

Comments
 (0)