Skip to content
This repository was archived by the owner on Aug 30, 2018. It is now read-only.
/ travis-worker Public archive

[DEPRECATED] This project is deprecated in favor of travis-ci/worker

License

Notifications You must be signed in to change notification settings

travis-ci/travis-worker

Folders and files

NameName
Last commit message
Last commit date
Apr 2, 2012
Sep 28, 2011
Jun 7, 2016
Oct 2, 2011
Jul 8, 2016
Feb 23, 2013
May 19, 2014
Jul 2, 2014
Jun 7, 2016
Aug 28, 2012
Nov 19, 2011
Oct 16, 2014
Dec 2, 2014
Jun 11, 2011
Mar 19, 2013
Jun 7, 2016
Jun 7, 2016
Jun 7, 2011
Jan 23, 2014
Sep 2, 2014
Aug 1, 2013
Nov 14, 2012

Repository files navigation

About travis-worker Build Status

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

Kill the worker and VBox processes

cd travis-worker/ && killall -9 -r java && sleep 3 && killall -9 -r VBox

Run the worker and sending stdout to log/worker.log (without wiping the old log):

nohup bin/thor travis:worker:boot >> log/worker.log 2>&1 &

Run the worker with the Jolokia JMX web agent

JAVA_OPTS=-javaagent:vendor/jolokia-1.0.5/jolokia-jvm-1.0.5-agent.jar=port=8088,host=localhost bin/thor travis:worker:boot

Run the worker with VisualVM support on a remote machine:

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 bin/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 --deployment --binstubs

Running tests

On JRuby:

bundle exec rake test

Reporting Issues

Please report any issues on the central Travis CI issue tracker.

License & copyright information

See LICENSE file.

Copyright (c) 2011-2012 Travis CI development team.