0.0
No release in over 3 years
Low commit activity in last 3 years
Locks for use at Travis CI.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

Travis Lock

Application-level locks for use in, e.g. travis-hub.

At the moment it seems the Redlock strategy works fine as well as the Postgresql advisory locks strategy when used with the options in the example below.

Usage:

options = {
  strategy: :postgresql,
  try: true,
  transactional: false
}
Travis::Lock.exclusive('build-1', options) do
  # update build
end

Doing a Rubygem release

Any tool works. The current releases were done with gem-release which allows creating a Git tag, pushing it to GitHub, building the gem and pushing it to Rubygems in one go:

$ gem install gem-release
$ gem bump --push --tag --release