[Groonga-mysql-commit] mroonga/mroonga at cad4f4f [master] travis: restrict the max concurrency

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Sep 13 23:01:49 JST 2014


Kouhei Sutou	2014-09-13 23:01:49 +0900 (Sat, 13 Sep 2014)

  New Revision: cad4f4f1f6c3df8c0351b843bf434a08b02a1ef0
  https://github.com/mroonga/mroonga/commit/cad4f4f1f6c3df8c0351b843bf434a08b02a1ef0

  Message:
    travis: restrict the max concurrency

  Modified files:
    tools/travis/script.sh

  Modified: tools/travis/script.sh (+4 -0)
===================================================================
--- tools/travis/script.sh    2014-09-13 22:28:41 +0900 (9eb8a80)
+++ tools/travis/script.sh    2014-09-13 23:01:49 +0900 (9fb371c)
@@ -35,6 +35,10 @@ if [ "${MRN_BUNDLED}" = "TRUE" ]; then
     n_processors=1
 else
     n_processors="$(grep '^processor' /proc/cpuinfo | wc -l)"
+    max_n_processors=8
+    if (( $n_processors > $max_n_processors )); then
+	$n_processors=$max_n_processors
+    fi
 fi
 
 build()
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index