matryer / moq

Interface mocking tool for go generate
http://bit.ly/meetmoq
MIT License
2k stars 127 forks source link

Run travis CI only on master branch and PRs #114

Closed sudo-suhas closed 4 years ago

sudo-suhas commented 5 years ago

If a PR is created using a branch pushed to origin, this triggers travis CI twice(see #113), once for the PR and another for the branch. So run Travis CI for only the master branch and when PRs are created using origin branches. If CI needs to be run on any specific branch other than master, it would need to be whitelisted.

sudo-suhas commented 5 years ago

@matryer Can I go ahead and merge this?