TravisSkipper
TravisSkipper allows you to build only newset changes on PRs, and Branches. When you push many commits to repo TS will cancel all build besides newest one on each branch/PR. It also cancel builds on a branch if this branch is use in PR.
Installation
Add this line to your application's Gemfile:
gem 'travis_skipper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install travis_skipper
Usage
TravisSkipper.configure do |config|
config.travis.token = "XXX" # Token from travis
config.repository.name = "infakt/travis_skipper" # repository name
config.repository.branches = %w(master) # branches on which we want to let jobs run
config.logger.path = "logs/skipper.log" # path to log file
end
TravisSkipper::Listener.start
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/infakt/travis_skipper. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.