We are using Travis CI connected to a Github project and it runs tests for the latest commit of each pushed branch. I would like to also check the previous commits between the tip of master and the tip of the checked branch.
Rationale: I only want to merge 100% consistent commits that do not break the tests. I do not want to include any inconsistent commits that modify code without fixing the tests or vice versa.
The way I'm doing it locally:
git rebase -i master --exec 'nosetests'
The project: