[Groonga-commit] groonga/groonga at 108a2f1 [master] travis: add test patterns with jemalloc

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jan 25 18:58:42 JST 2015


Kouhei Sutou	2015-01-25 18:58:42 +0900 (Sun, 25 Jan 2015)

  New Revision: 108a2f1899d2c24be57d3be64150ee90b06e77ac
  https://github.com/groonga/groonga/commit/108a2f1899d2c24be57d3be64150ee90b06e77ac

  Message:
    travis: add test patterns with jemalloc

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

  Modified: .travis.yml (+2 -0)
===================================================================
--- .travis.yml    2015-01-24 12:38:35 +0900 (74664b7)
+++ .travis.yml    2015-01-25 18:58:42 +0900 (dfdcc84)
@@ -11,6 +11,8 @@ compiler:
 env:
   - BUILD_TOOL=autotools
   - BUILD_TOOL=autotools ENABLE_MRUBY=yes
+  - BUILD_TOOL=autotools ENABLE_JEMALLOC=yes
+  - BUILD_TOOL=autotools ENABLE_MRUBY=yes ENABLE_JEMALLOC=yes
   - BUILD_TOOL=autotools CFLAGS=-funsigned-char CXXFLAGS=-funsigned-char
   - BUILD_TOOL=cmake
 before_install:

  Modified: tools/travis-before-script.sh (+3 -0)
===================================================================
--- tools/travis-before-script.sh    2015-01-24 12:38:35 +0900 (3692466)
+++ tools/travis-before-script.sh    2015-01-25 18:58:42 +0900 (d4ccb75)
@@ -15,6 +15,9 @@ case "${BUILD_TOOL}" in
     if [ "$ENABLE_MRUBY" = "yes" ]; then
       configure_args="${configure_args} --with-ruby --enable-mruby"
     fi
+    if [ "$ENABLE_JEMALLOC" = "yes" ]; then
+      configure_args="${configure_args} --with-jemalloc"
+    fi
 
     ./configure --with-ruby ${configure_args}
     ;;

  Modified: tools/travis-install.sh (+3 -0)
===================================================================
--- tools/travis-install.sh    2015-01-24 12:38:35 +0900 (943c622)
+++ tools/travis-install.sh    2015-01-25 18:58:42 +0900 (e64e17b)
@@ -13,6 +13,9 @@ case "${TRAVIS_OS_NAME}" in
          libmecab-dev \
          mecab-naist-jdic \
          cmake
+    if [ "${ENABLE_JEMALLOC}" = "yes" ]; then
+      sudo apt-get install -qq -y libjemalloc-dev
+    fi
     ;;
   osx)
     brew install \
-------------- next part --------------
HTML����������������������������...
Download 



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