[Groonga-commit] groonga/groonga at d621371 [master] travis: ensure log directory for the default paths

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 26 22:18:36 JST 2015


Kouhei Sutou	2015-01-26 22:18:36 +0900 (Mon, 26 Jan 2015)

  New Revision: d62137183de95b8cf8450923d4b08b239bdd451a
  https://github.com/groonga/groonga/commit/d62137183de95b8cf8450923d4b08b239bdd451a

  Message:
    travis: ensure log directory for the default paths

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

  Modified: tools/travis-before-script.sh (+3 -1)
===================================================================
--- tools/travis-before-script.sh    2015-01-26 21:47:47 +0900 (d4ccb75)
+++ tools/travis-before-script.sh    2015-01-26 22:18:36 +0900 (71d5a81)
@@ -4,6 +4,8 @@ set -e
 
 git submodule update --init --depth 1
 
+prefix=/tmp/local
+
 case "${BUILD_TOOL}" in
   autotools)
     ./autogen.sh
@@ -19,7 +21,7 @@ case "${BUILD_TOOL}" in
       configure_args="${configure_args} --with-jemalloc"
     fi
 
-    ./configure --with-ruby ${configure_args}
+    ./configure --prefix=${prefix} --with-ruby ${configure_args}
     ;;
   cmake)
     cmake_args=""

  Modified: tools/travis-script.sh (+3 -0)
===================================================================
--- tools/travis-script.sh    2015-01-26 21:47:47 +0900 (5f2d381)
+++ tools/travis-script.sh    2015-01-26 22:18:36 +0900 (35bf0bd)
@@ -2,6 +2,8 @@
 
 set -e
 
+prefix=/tmp/local
+
 case "${BUILD_TOOL}" in
   autotools)
     test/unit/run-test.sh
@@ -10,6 +12,7 @@ case "${BUILD_TOOL}" in
       test/query_optimizer/run-test.rb
     fi
     test/command/run-test.sh --interface http
+    mkdir -p ${prefix}/var/log/groonga/httpd
     test/command/run-test.sh --testee groonga-httpd
     ;;
   cmake)
-------------- next part --------------
HTML����������������������������...
Download 



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