This is an automated email from the ASF dual-hosted git repository.

melap pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/beam-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new c9cc9ac  parallelise test
     new e95720d  This closes #405
c9cc9ac is described below

commit c9cc9ac2b76c9709a358c9ce55c681f50e154e56
Author: Taro Murao <taro.mu...@gmail.com>
AuthorDate: Fri Mar 23 15:26:46 2018 +0100

    parallelise test
---
 README.md | 2 ++
 Rakefile  | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index a61dc2b..b0e00a9 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,8 @@ This repository contains:
 
 ### Setup
 
+You need Ruby version >= 2.2.0 to build the project.
+
 Install [Ruby Gems](https://rubygems.org/pages/download), a package management 
framework for Ruby.
 
 Install [Bundler](http://bundler.io/v1.3/rationale.html), which  we use to 
specify dependencies and ensure
diff --git a/Rakefile b/Rakefile
index 1c858cc..605ed5b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,6 @@
 require 'fileutils'
 require 'html-proofer'
+require 'etc'
 
 task :test do
   FileUtils.rm_rf('./.testcontent')
@@ -10,6 +11,7 @@ task :test do
       :connecttimeout => 40 },
     :allow_hash_href => true,
     :check_html => true,
-    :file_ignore => [/javadoc/, /v2/, /pydoc/]
+    :file_ignore => [/javadoc/, /v2/, /pydoc/],
+    :parallel => { :in_processes => Etc.nprocessors },
     }).run
 end

-- 
To stop receiving notification emails like this one, please contact
me...@apache.org.

Reply via email to