Navigation Menu

Skip to content

Commit

Permalink
travis: add test patterns with jemalloc
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 25, 2015
1 parent 04364b5 commit 108a2f1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions tools/travis-before-script.sh
Expand Up @@ -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}
;;
Expand Down
3 changes: 3 additions & 0 deletions tools/travis-install.sh
Expand Up @@ -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 \
Expand Down

0 comments on commit 108a2f1

Please sign in to comment.