Permalink
cgzones
travis: treat all compiler warnings as errors
3f303f3
Nov 14, 2019
All your code in one place
GitHub makes it easy to scale back on context switching. Read rendered documentation, see the history of any file, and collaborate with contributors on projects across GitHub.
Sign up for free See pricing for teams and enterprisesgit: | |
depth: 3 | |
language: c | |
compiler: | |
- clang | |
- gcc | |
env: | |
- CONFIGURE_OPTIONS="" | |
- CONFIGURE_OPTIONS="--enable-geoip=legacy --enable-utf8" | |
- CONFIGURE_OPTIONS="--enable-geoip=legacy --enable-utf8 --enable-tcb=btree --disable-bzip --disable-zlib" | |
- CONFIGURE_OPTIONS="--enable-geoip=legacy --enable-utf8 --enable-tcb=memhash --disable-bzip --disable-zlib" | |
- CONFIGURE_OPTIONS="--enable-tcb=memhash --disable-bzip --disable-zlib" | |
- CONFIGURE_OPTIONS="--enable-tcb=btree --disable-bzip --disable-zlib" | |
- CONFIGURE_OPTIONS="--enable-geoip=mmdb --enable-utf8 --enable-tcb=btree --with-openssl" | |
addons: | |
apt: | |
packages: | |
- libglib2.0-dev | |
- libncurses5-dev | |
- libgeoip-dev | |
- autoconf | |
- autotools-dev | |
- libtokyocabinet-dev | |
- libssl-dev | |
- libbz2-dev | |
- libmaxminddb-dev | |
- gettext | |
- autopoint | |
script: | |
- autoreconf -fiv -Wall | |
- ./configure CFLAGS=-Werror $CONFIGURE_OPTIONS | |
- make -j | |
- sudo env "PATH=$PATH" make install | |
after_success: | |
- goaccess --version |