chore: only build on push to main for Travis CI (#2295)
This commit is contained in:
@@ -6,6 +6,9 @@ branches:
|
|||||||
only:
|
only:
|
||||||
- main
|
- 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:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- name: Linux | x86_64 + i686 | Python 3.12
|
- name: Linux | x86_64 + i686 | Python 3.12
|
||||||
|
|||||||
Reference in New Issue
Block a user