Sha256: 38e1cfb114a54ba23a8f39fd37278d0cb3554e26d9307b8e9f0bc8ecca638a61

Contents?: true

Size: 887 Bytes

Versions: 6

Compression:

Stored size: 887 Bytes

Contents

#!/usr/bin/ruby1.8

require 'rubygems'
require 'testswarm/client'

client  = TestSwarm::Client.new('http://swarm.jcoglan.com')
project = client.project('faye', :auth => '6d26e250d81b32099fccc59db53a3a0e648f0e6d')

job = TestSwarm::Job.create(
  :rcs        => {
    :type     => "git",
    :url      => "git://github.com/jcoglan/faye.git"
  },
  :directory  => "/home/jcoglan/www/swarm.jcoglan.com/app/changeset/#{project.name}",
  :diff       => ["javascript", "spec/javascript"],
  :inject     => "spec/browser.html",
  
  :build      => [
    "cd vendor/js.class && jake",
    "rm -rf build",
    "jake"
  ]
)

exit unless job.new?

path = "#{client.url}/changeset/#{project.name}/#{job.revision}"
job.add_suite "Faye tests", "#{path}/spec/browser.html"

project.submit_job "Faye Commit #{job.revision}", job,
                   :browsers => "all",
                   :max      => 5

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
faye-0.6.8 spec/testswarm
faye-0.7.0 spec/testswarm
faye-0.6.7 spec/testswarm
faye-0.6.6 spec/testswarm
faye-0.6.5 spec/testswarm
faye-0.6.4 spec/testswarm