Repository is archived
No commit activity in last 3 years
No release in over 3 years
travis-build-tools allows you to easily create ruby-built packages using Travis CI.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.10
~> 1.1
 Project Readme

Travis Build Tools

A Ruby Gem to manage common Travis-CI build elemets.

Gem Version

Build Status

Usage

Version is created by joining the the number of the release branch number with the build number and then a zero. (release.number).(build number).0.

#!/usr/bin/ruby
require 'travis-build-tools'
VERSION = TravisBuildTools::Version #Returns Gem::Version
puts VERSION

Generate Github Tags

task :publish_git_tag do
  service_user = ENV['GIT_USER'] #GitHub repo access key
  builder = TravisBuildTools::Builder.new(service_user)
  tag_name = BUILD_VERSION
  builder.publish_git_tag(tag_name)
end

Automatic downstream branch merging

task :merge_downstream do
  service_user = ENV['GIT_USER'] #GitHub repo access key
  builder = TravisBuildTools::Builder.new(service_usery)

  branch_name_matcher = 'release/'
  master_branch_name = 'master'
  builder.merge_downstream(branch_name_matcher, master_branch_name)
end

Update .travis.yml keys

  • apt-get install ruby-dev
  • gem install travis
  • Setup Travis-CI build on the repository.
  • travis encrypt GIT_TAG_PUSHER=git_api_key --add env.global
  • travis encrypt deployment_key --add deploy.api_key