From: Ivan Maidanski Date: Wed, 7 Dec 2016 23:00:12 +0000 (+0300) Subject: Travis CI configuration: turn on assertion checking X-Git-Tag: v7.4.6~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f54004b5a5374a40b2261ce0fbec0442d648e778;p=libatomic_ops Travis CI configuration: turn on assertion checking (Cherry-pick commits 7e99484, bb94b84, 641030c from 'master' branch.) --- diff --git a/.travis.yml b/.travis.yml index 631080d..b127fac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,8 +11,10 @@ compiler: env: - CFLAGS_EXTRA_M= - CFLAGS_EXTRA="-O3 -march=native" + CONF_ASSERTIONS=--enable-assertions - CFLAGS_EXTRA_M=-m32 CFLAGS_EXTRA="-march=native" + CONF_ASSERTIONS=--enable-assertions matrix: exclude: @@ -28,8 +30,8 @@ before_install: install: - ./autogen.sh - - ./configure script: + - ./configure $CONF_ASSERTIONS - make -j check CFLAGS_EXTRA="$CFLAGS_EXTRA $CFLAGS_EXTRA_M" - if [ -f tests/test_atomic.log ]; then cat tests/test_atomic*.log; fi