lib/evrone/ci/router.rb in evrone-ci-router-0.2.0.pre1 vs lib/evrone/ci/router.rb in evrone-ci-router-0.2.0.pre3
- old
+ new
@@ -92,11 +92,10 @@
end
end
def create_and_delivery_build_matrix
matrix = BuildMatrix.new travis
- build.matrix = matrix.keys
build.jobs_count = matrix.travises.size
matrix.travises.each_with_index do |travis, idx|
number = idx + 1
message = build.to_perform_job_message travis, number
@@ -107,9 +106,10 @@
true
end
def load_travis
@travis = Travis.from_file repo_dir.join(".travis.yml")
+ @travis
end
def create_repo_dir
FileUtils.mkdir_p(repo_dir) unless repo_dir.directory?
true