aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2013-01-21 07:43:41 -0800
committerIgor Minar2013-01-21 07:50:16 -0800
commitcdf7781878dc43de85e7a72fcfce0105d93db621 (patch)
treee334dc31489e5b41197737b5a24a2b3b7831348d
parent7e8d3c17362e52d6198ae0a85bdf50ded669d9c0 (diff)
downloadangular.js-cdf7781878dc43de85e7a72fcfce0105d93db621.tar.bz2
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: https://github.com/travis-ci/travis-ci/issues/845
-rw-r--r--Rakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 1b443e2b..069579e5 100644
--- a/Rakefile
+++ b/Rakefile
@@ -105,7 +105,11 @@ task :minify => [:init, :concat, :concat_scenario] do
'angular-bootstrap.js',
'angular-bootstrap-prettify.js'
].each do |file|
- fork { closure_compile(file) }
+ unless ENV['TRAVIS']
+ fork { closure_compile(file) }
+ else
+ closure_compile(file)
+ end
end
Process.waitall