[Groonga-commit] groonga/groonga at 54e68bf [master] travis: set default value

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Fri May 6 17:29:58 JST 2016


Kouhei Sutou	2016-05-06 17:29:58 +0900 (Fri, 06 May 2016)

  New Revision: 54e68bf8338f01129f42c5141a110e0857253342
  https://github.com/groonga/groonga/commit/54e68bf8338f01129f42c5141a110e0857253342

  Message:
    travis: set default value

  Modified files:
    tools/travis-before-script.sh
    tools/travis-install.sh
    tools/travis-script.sh

  Modified: tools/travis-before-script.sh (+4 -2)
===================================================================
--- tools/travis-before-script.sh    2016-05-06 16:23:30 +0900 (3978970)
+++ tools/travis-before-script.sh    2016-05-06 17:29:58 +0900 (11e6425)
@@ -3,6 +3,8 @@
 set -e
 set -u
 
+: ${ENABLE_MRUBY:=no}
+
 git submodule update --init --depth 1
 
 prefix=/tmp/local
@@ -15,7 +17,7 @@ case "${BUILD_TOOL}" in
     #if [ "$CC" = "clang" ]; then
       configure_args="${configure_args} --enable-debug"
     #fi
-    if [ "$ENABLE_MRUBY" = "yes" ]; then
+    if [ "${ENABLE_MRUBY}" = "yes" ]; then
       configure_args="${configure_args} --with-ruby --enable-mruby"
     fi
 
@@ -24,7 +26,7 @@ case "${BUILD_TOOL}" in
   cmake)
     cmake_args=""
     cmake_args="${cmake_args} -DGRN_WITH_DEBUG=yes"
-    if [ "$ENABLE_MRUBY" = "yes" ]; then
+    if [ "${ENABLE_MRUBY}" = "yes" ]; then
       cmake_args="${cmake_args} -DGRN_WITH_MRUBY=yes"
     fi
 

  Modified: tools/travis-install.sh (+2 -0)
===================================================================
--- tools/travis-install.sh    2016-05-06 16:23:30 +0900 (9befae6)
+++ tools/travis-install.sh    2016-05-06 17:29:58 +0900 (21d5c62)
@@ -3,6 +3,8 @@
 set -e
 set -u
 
+: ${ENABLE_MRUBY:=no}
+
 case "${TRAVIS_OS_NAME}" in
   linux)
     curl --silent --location https://raw.github.com/clear-code/cutter/master/data/travis/setup.sh | sh

  Modified: tools/travis-script.sh (+2 -0)
===================================================================
--- tools/travis-script.sh    2016-05-06 16:23:30 +0900 (8ea2ae3)
+++ tools/travis-script.sh    2016-05-06 17:29:58 +0900 (322a83f)
@@ -3,6 +3,8 @@
 set -e
 set -u
 
+: ${ENABLE_MRUBY:=no}
+
 prefix=/tmp/local
 
 command_test_options="--n-workers=4 --reporter=mark"
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index