blob: 4cc116e5fac69b938333ef456b82067ee709d98f [file] [log] [blame]
Jason Evans590ee2a2016-12-13 14:53:10 -08001language: generic
David Goldblatt9e394252017-09-19 09:27:33 -07002dist: precise
Mike Hommey2ea77422016-06-10 00:17:19 +09003
4matrix:
5 include:
6 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -07007 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -08008 - os: osx
David Goldblatt8209df22017-04-10 13:26:21 -07009 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
Jason Evansa965a9c2016-12-13 16:19:20 -080010 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -070011 env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
Mike Hommey2ea77422016-06-10 00:17:19 +090012 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -070013 env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
Jason Evansa965a9c2016-12-13 16:19:20 -080014 addons:
15 apt:
16 packages:
David Goldblatt6e7d0892017-01-25 12:58:50 -080017 - gcc-multilib
Jason Evansa965a9c2016-12-13 16:19:20 -080018 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -070019 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080020 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -070021 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080022 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -070023 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080024 - os: linux
Jason Evans4403c9a2017-04-20 17:21:37 -070025 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
Jason Evans067b9702017-05-22 17:15:57 -070026 - os: linux
27 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
Jason Evans36195c82017-05-23 10:53:36 -070028 - os: linux
29 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
Jason Evansfd0fa002017-05-31 11:56:31 -070030 - os: linux
31 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080032 - os: osx
David Goldblatt8209df22017-04-10 13:26:21 -070033 env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080034 - os: osx
David Goldblatt8209df22017-04-10 13:26:21 -070035 env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080036 - os: osx
David Goldblatt8209df22017-04-10 13:26:21 -070037 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080038 - os: osx
David Goldblatt8209df22017-04-10 13:26:21 -070039 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080040 - os: osx
Jason Evans4403c9a2017-04-20 17:21:37 -070041 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080042 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -070043 env: CC=clang CXX=clang++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
Mike Hommey2ea77422016-06-10 00:17:19 +090044 addons:
45 apt:
46 packages:
David Goldblatt6e7d0892017-01-25 12:58:50 -080047 - gcc-multilib
48 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -070049 env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080050 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -070051 env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080052 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -070053 env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080054 - os: linux
Jason Evans4403c9a2017-04-20 17:21:37 -070055 env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080056 - os: linux
Jason Evans067b9702017-05-22 17:15:57 -070057 env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
58 - os: linux
Jason Evans36195c82017-05-23 10:53:36 -070059 env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
60 - os: linux
Jason Evansfd0fa002017-05-31 11:56:31 -070061 env: CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
62 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -070063 env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080064 addons:
65 apt:
66 packages:
67 - gcc-multilib
68 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -070069 env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080070 addons:
71 apt:
72 packages:
73 - gcc-multilib
74 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -070075 env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080076 addons:
77 apt:
78 packages:
79 - gcc-multilib
80 - os: linux
Jason Evans4403c9a2017-04-20 17:21:37 -070081 env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -080082 addons:
83 apt:
84 packages:
85 - gcc-multilib
86 - os: linux
Jason Evans067b9702017-05-22 17:15:57 -070087 env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
88 addons:
89 apt:
90 packages:
91 - gcc-multilib
92 - os: linux
Jason Evans36195c82017-05-23 10:53:36 -070093 env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
94 addons:
95 apt:
96 packages:
97 - gcc-multilib
98 - os: linux
Jason Evansfd0fa002017-05-31 11:56:31 -070099 env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
100 addons:
101 apt:
102 packages:
103 - gcc-multilib
104 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -0700105 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -0800106 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -0700107 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -0800108 - os: linux
Jason Evans4403c9a2017-04-20 17:21:37 -0700109 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -0800110 - os: linux
Jason Evans067b9702017-05-22 17:15:57 -0700111 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
112 - os: linux
Jason Evans36195c82017-05-23 10:53:36 -0700113 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
114 - os: linux
Jason Evansfd0fa002017-05-31 11:56:31 -0700115 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
116 - os: linux
David Goldblatt8209df22017-04-10 13:26:21 -0700117 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --disable-stats" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -0800118 - os: linux
Jason Evans4403c9a2017-04-20 17:21:37 -0700119 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -0800120 - os: linux
Jason Evans067b9702017-05-22 17:15:57 -0700121 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
122 - os: linux
Jason Evans36195c82017-05-23 10:53:36 -0700123 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
124 - os: linux
Jason Evansfd0fa002017-05-31 11:56:31 -0700125 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
126 - os: linux
Jason Evans4403c9a2017-04-20 17:21:37 -0700127 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
Jason Evans067b9702017-05-22 17:15:57 -0700128 - os: linux
129 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --with-malloc-conf=dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
130 - os: linux
Jason Evans36195c82017-05-23 10:53:36 -0700131 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --with-malloc-conf=percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
132 - os: linux
Jason Evansfd0fa002017-05-31 11:56:31 -0700133 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --with-malloc-conf=background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
134 - os: linux
Jason Evans067b9702017-05-22 17:15:57 -0700135 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false,dss:primary" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
Jason Evans36195c82017-05-23 10:53:36 -0700136 - os: linux
137 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false,percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
138 - os: linux
Jason Evansfd0fa002017-05-31 11:56:31 -0700139 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=tcache:false,background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
140 - os: linux
Jason Evans36195c82017-05-23 10:53:36 -0700141 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary,percpu_arena:percpu" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
Jason Evansfd0fa002017-05-31 11:56:31 -0700142 - os: linux
143 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=dss:primary,background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
144 - os: linux
145 env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="--with-malloc-conf=percpu_arena:percpu,background_thread:true" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
David Goldblatt6e7d0892017-01-25 12:58:50 -0800146
Mike Hommey2ea77422016-06-10 00:17:19 +0900147
148before_script:
149 - autoconf
David Goldblatt6e7d0892017-01-25 12:58:50 -0800150 - ./configure ${COMPILER_FLAGS:+ CC="$CC $COMPILER_FLAGS" CXX="$CXX $COMPILER_FLAGS" } $CONFIGURE_FLAGS
Mike Hommey2ea77422016-06-10 00:17:19 +0900151 - make -j3
152 - make -j3 tests
153
154script:
155 - make check
David Goldblatt6e7d0892017-01-25 12:58:50 -0800156