Skip to content

Commit cdf7781

Browse files
committed
chore(Rakefile): skip build parallelization on Travis
Due to a infrastructure change on Travis starting JVMs in forked processes doesn't currently work. Since we don't really care that much about the build speed on Travis, I'm going to disable it there. Related issue: travis-ci/travis-ci#845
1 parent 7e8d3c1 commit cdf7781

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Rakefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,11 @@ task :minify => [:init, :concat, :concat_scenario] do
105105
'angular-bootstrap.js',
106106
'angular-bootstrap-prettify.js'
107107
].each do |file|
108-
fork { closure_compile(file) }
108+
unless ENV['TRAVIS']
109+
fork { closure_compile(file) }
110+
else
111+
closure_compile(file)
112+
end
109113
end
110114

111115
Process.waitall

0 commit comments

Comments
 (0)