Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,10 @@ notifications:
skip_join: true
email:
- [email protected]

branches:
only:
- master
- features
- 4.6-maintenance
- /^\d+(\.\d+)+$/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I usually add another explicit pattern in case people need to actually play with CI (especially useful in forks)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Care to share?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

@blueyed blueyed Oct 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So you mean to include a prefix "test-me-*"?

I cannot really see why that would be useful - forks then have to use branches "test-me-foo" to have Travis run for their branch pushes, right?
The idea is that push branches for a "foo" branch are not run with this config, right?

I think real forks should also override that config then.

Regarding your use case we should just exclude "/^.-patch-./" only then?

btw: it would make more sense to discuss this on the master PR - I've only created this already, because I've thought it would be easy/non-controversial.

=> #6032 (comment)