Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Travis Worker manages VMs and runs your tests. It is the key component of Travis. See also https://github.com/travis-ci/travis-cookbooks
Ruby Shell

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
boxes
certs
config
keys
lib
play
script
spec
vendor/virtualbox-4.1.8
.gitignore
.rspec
.travis.yml
.yardopts
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
Thorfile
Vagrantfile
travis-worker.gemspec

README.md

About travis-worker

This is home for the next generation of Travis CI worker. It is a WIP and is still very rough around the edges for broader community of contributors to jump in.

Running the worker

nohup thor travis:worker:boot >> log/worker.log 2>&1 &
JRUBY_OPTS="-J-Dcom.sun.management.jmxremote.port=1099 -J-Dcom.sun.management.jmxremote.authenticate=false -J-Dcom.sun.management.jmxremote.ssl=false -J-Djava.rmi.server.hostname=127.0.0.1" nohup thor travis:worker:boot >> log/worker.log 2>&1 &

Running the Thor console

ruby -Ilib -rubygems lib/thor/console.rb

Getting started

Install Bundler:

gem install bundler

Pull down dependencies:

bundle install

Fetch base Vagrant box (Ubuntu 10.04, 32-bit):

vagrant box add base http://files.vagrantup.com/lucid32_old.box

Pull down submodules (Travis cookbooks, et cetera):

git submodule update --init

Spin up a new Vagrant VM that will be provisioned with Opscode Chef:

vagrant init
vagrant up

Running tests

On Ruby 1.9.2:

bundle exec rake test

License & copyright information

See LICENSE file.

Copyright (c) 2011 Travis CI development team.

Something went wrong with that request. Please try again.