Inspired by grosser/travis_dedup. Rails 5 Api that stop all builds on the same PR when a new job starts.
travis login --pro
travis token --pro
Click on and enter the access token there.
Setup a github webhook https://YOURAPP.herokuapp.com/repos/deduplicate?repo=ORGANIZATION/REPO
and set it to send push and pull request events.
- Currently works with only travis-ci.com. Support for travis-ci.org