2016-12-14 06:53:10 +08:00
|
|
|
language: generic
|
2017-09-20 00:27:33 +08:00
|
|
|
dist: precise
|
2016-06-09 23:17:19 +08:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: osx
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2018-07-10 20:41:20 +08:00
|
|
|
addons: &gcc_multilib
|
2017-01-26 04:58:50 +08:00
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-multilib
|
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2016-12-14 08:19:20 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-21 08:21:37 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-23 08:15:57 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-24 01:53:36 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-06-01 02:56:31 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: osx
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: osx
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: osx
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: osx
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: osx
|
2017-04-21 08:21:37 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2016-06-09 23:17:19 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=clang CXX=clang++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2018-07-10 20:41:20 +08:00
|
|
|
addons: *gcc_multilib
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2016-12-14 08:19:20 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-21 08:21:37 +08:00
|
|
|
env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-23 08:15:57 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-24 01:53:36 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-06-01 02:56:31 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2018-07-10 20:41:20 +08:00
|
|
|
addons: *gcc_multilib
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2018-07-10 20:41:20 +08:00
|
|
|
addons: *gcc_multilib
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2018-07-10 20:41:20 +08:00
|
|
|
addons: *gcc_multilib
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-21 08:21:37 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2018-07-10 20:41:20 +08:00
|
|
|
addons: *gcc_multilib
|
2017-05-23 08:15:57 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2018-07-10 20:41:20 +08:00
|
|
|
addons: *gcc_multilib
|
2017-05-24 01:53:36 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2018-07-10 20:41:20 +08:00
|
|
|
addons: *gcc_multilib
|
2017-06-01 02:56:31 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2018-07-10 20:41:20 +08:00
|
|
|
addons: *gcc_multilib
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-21 08:21:37 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-23 08:15:57 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-24 01:53:36 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-06-01 02:56:31 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-11 04:26:21 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-21 08:21:37 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-23 08:15:57 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-24 01:53:36 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-06-01 02:56:31 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-01-26 04:58:50 +08:00
|
|
|
- os: linux
|
2017-04-21 08:21:37 +08:00
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-23 08:15:57 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-24 01:53:36 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-06-01 02:56:31 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-23 08:15:57 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false,dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-24 01:53:36 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false,percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-06-01 02:56:31 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false,background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-05-24 01:53:36 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary,percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2017-06-01 02:56:31 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary,background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu,background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2018-07-10 19:58:37 +08:00
|
|
|
# Development build
|
2018-05-03 17:40:53 +08:00
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --disable-cache-oblivious --enable-stats --enable-log --enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2018-07-11 21:11:53 +08:00
|
|
|
# --enable-expermental-smallocx:
|
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --enable-experimental-smallocx --enable-stats --enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
2016-06-09 23:17:19 +08:00
|
|
|
|
2018-07-10 19:58:37 +08:00
|
|
|
# Valgrind
|
|
|
|
- os: linux
|
|
|
|
env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds" JEMALLOC_TEST_PREFIX="valgrind"
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- valgrind
|
|
|
|
|
2018-07-10 20:41:20 +08:00
|
|
|
|
2016-06-09 23:17:19 +08:00
|
|
|
before_script:
|
|
|
|
- autoconf
|
2018-07-11 21:18:40 +08:00
|
|
|
- scripts/gen_travis.py > travis_script && diff .travis.yml travis_script
|
2017-01-26 04:58:50 +08:00
|
|
|
- ./configure ${COMPILER_FLAGS:+ CC="$CC $COMPILER_FLAGS" CXX="$CXX $COMPILER_FLAGS" } $CONFIGURE_FLAGS
|
2016-06-09 23:17:19 +08:00
|
|
|
- make -j3
|
|
|
|
- make -j3 tests
|
|
|
|
|
|
|
|
script:
|
|
|
|
- make check
|
2017-01-26 04:58:50 +08:00
|
|
|
|