Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: mfrost/integrity
base: 9dceb75a81
...
head fork: mfrost/integrity
compare: e2ea0561f4
  • 8 commits
  • 4 files changed
  • 0 commit comments
  • 4 contributors
Commits on Apr 10, 2012
@mildmojo mildmojo Initialize ThreadedBuilder::ThreadPool's @logger before spawning work…
…er threads that need it
387bb28
Commits on May 18, 2012
Graham Christensen Implement TravisCI to provide regular builds
Keeping a public Integrity server accessible has proved to be
difficult and inconsistent, regardless of the number of
private instances I run. Travis will provide consistent and regular
builds.
679bf13
@grahamc grahamc Merge pull request #166 from mildmojo/thread_logger_fix
Initialize ThreadedBuilder::ThreadPool's @logger before spawning workers
a9e665e
Graham Christensen Pass the current branch which is being built to all commands being ru…
…n as an ENV variable.
4c112bf
@grahamc grahamc Merge pull request #169 from mfrost/gemfile
Updated Gemfile
0353585
@richmeyers richmeyers Merge pull request #167 from grahamc/branch-env
Pass the Building Branch as an ENV Variable
4a49d02
@mfrost Merge branch 'master' into organize 6103d94
@mfrost Ignore all db files, wherever they may be e2ea056
View
2  .gitignore
@@ -1,7 +1,7 @@
.bundle/*
doc/integrity.html
builds
-db
+*.db
*.log
.rvmrc
*.tmproj
View
12 .travis.yml
@@ -0,0 +1,12 @@
+language: ruby
+
+before_install:
+ - rm Gemfile.loc*
+ - sudo apt-get install wamerican-small
+
+rvm:
+ - 1.8.7
+ - 1.9.2
+ - 1.9.3
+
+
View
2  lib/integrity/builders/threaded_builder.rb
@@ -86,10 +86,10 @@ def size=(other)
# Default pool size is 2 threads.
def initialize(size, logger)
+ @logger = logger
@jobs = Queue.new
@njobs = Incrementor.new
@workers = Array.new(size) { spawn }
- @logger = logger
end
# Adds a job to the queue, the job can be any number of objects
View
2  lib/integrity/checkout.rb
@@ -67,7 +67,7 @@ def head
end
def run_in_dir(command)
- in_dir { |r| r.run(command) }
+ in_dir { |r| r.run("INTEGRITY_BRANCH=\"#{@repo.branch}\" " + command) }
end
def run_in_dir!(command)

No commit comments for this range

Something went wrong with that request. Please try again.