Navigation Menu

Skip to content

Commit

Permalink
travis: ensure log directory for the default paths
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 26, 2015
1 parent 574634a commit d621371
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/travis-before-script.sh
Expand Up @@ -4,6 +4,8 @@ set -e

git submodule update --init --depth 1

prefix=/tmp/local

case "${BUILD_TOOL}" in
autotools)
./autogen.sh
Expand All @@ -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=""
Expand Down
3 changes: 3 additions & 0 deletions tools/travis-script.sh
Expand Up @@ -2,6 +2,8 @@

set -e

prefix=/tmp/local

case "${BUILD_TOOL}" in
autotools)
test/unit/run-test.sh
Expand All @@ -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)
Expand Down

0 comments on commit d621371

Please sign in to comment.