Skip to content

Commit

Permalink
use correct branch?
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Sep 26, 2017
1 parent f3fe79f commit e6ee010
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions rakefile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,20 @@
# login has worked a few times, then started failing

token = ENV['GH_TOKEN']
TRAVIS_BRANCH = ENV['TRAVIS_BRANCH']

# against the Travis namespace
Travis.github_auth(token)
puts "Using #{Travis::User.current.name}!"
puts "User: #{Travis::User.current.name}!"
puts "Branch: #{TRAVIS_BRANCH}!"


Travis::Repository.find('haxeui/haxeui-blank').last_build.restart
Travis::Repository.find('haxeui/haxeui-openfl').last_build.restart
Travis::Repository.find('haxeui/haxeui-html5').last_build.restart
Travis::Repository.find('haxeui/haxeui-pixijs').last_build.restart
Travis::Repository.find('haxeui/haxeui-flambe').last_build.restart
Travis::Repository.find('haxeui/haxeui-nme').last_build.restart
Travis::Repository.find('haxeui/haxeui-kha').last_build.restart
Travis::Repository.find('haxeui/haxeui-luxe').last_build.restart
Travis::Repository.find('haxeui/haxeui-hxwidgets').last_build.restart
Travis::Repository.find('haxeui/haxeui-blank').branch("#{TRAVIS_BRANCH}").restart
Travis::Repository.find('haxeui/haxeui-openfl').branch("#{TRAVIS_BRANCH}").restart
Travis::Repository.find('haxeui/haxeui-html5').branch("#{TRAVIS_BRANCH}").restart
Travis::Repository.find('haxeui/haxeui-pixijs').branch("#{TRAVIS_BRANCH}").restart
Travis::Repository.find('haxeui/haxeui-flambe').branch("#{TRAVIS_BRANCH}").restart
Travis::Repository.find('haxeui/haxeui-nme').branch("#{TRAVIS_BRANCH}").restart
Travis::Repository.find('haxeui/haxeui-kha').branch("#{TRAVIS_BRANCH}").restart
Travis::Repository.find('haxeui/haxeui-luxe').branch("#{TRAVIS_BRANCH}").restart
Travis::Repository.find('haxeui/haxeui-hxwidgets').branch("#{TRAVIS_BRANCH}").restart

0 comments on commit e6ee010

Please sign in to comment.