[Groonga-mysql-commit] mroonga/mroonga at bca78d2 [master] travis: add -DWITH_EMBEDDED_SERVER=TRUE for embedded server test build

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Sun Sep 14 12:56:18 JST 2014


Kouhei Sutou	2014-09-14 12:56:18 +0900 (Sun, 14 Sep 2014)

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

  Message:
    travis: add -DWITH_EMBEDDED_SERVER=TRUE for embedded server test build

  Modified files:
    tools/travis/before_script.sh

  Modified: tools/travis/before_script.sh (+6 -2)
===================================================================
--- tools/travis/before_script.sh    2014-09-14 12:27:40 +0900 (c2dddcb)
+++ tools/travis/before_script.sh    2014-09-14 12:56:18 +0900 (8fd3f78)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Copyright(C) 2012-2014 Kouhei Sutou <kou �� clear-code.com>
 #
@@ -20,7 +20,11 @@
 set -e
 
 if [ "${MROONGA_BUNDLED}" = "yes" ]; then
-    cmake . -DCMAKE_BUILD_TYPE=Debug
+    cmake_args=(-DCMAKE_BUILD_TYPE=Debug)
+    if [ "${MROONGA_TEST_EMBEDDED}" = "yes" ]; then
+	cmake_args=("${cmake_args[@]}" "-DWITH_EMBEDDED_SERVER=TRUE")
+    fi
+    cmake . "${cmake_args[@]}"
 else
     ./autogen.sh
 
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-mysql-commit mailing list
アーカイブの一覧に戻る