From: Ivan Maidanski Date: Tue, 28 Mar 2017 20:22:17 +0000 (+0300) Subject: Travis CI: Test also with -std=c11 (in single-threaded mode only) X-Git-Tag: v7.4.6~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=22c6467ab368c87fff3303822b2fc7d4c5956978;p=gc Travis CI: Test also with -std=c11 (in single-threaded mode only) (Cherry-pick commits 47483e7, 2a1b2bb from 'master' branch.) --- diff --git a/.travis.yml b/.travis.yml index ef7a021a..c78042d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,6 +60,12 @@ matrix: env: - CFLAGS_EXTRA="-D SMALL_CONFIG -D NO_GETENV" - CONF_OPTIONS="--enable-cplusplus" + - os: linux + compiler: gcc + dist: trusty + env: + - CFLAGS_EXTRA="-std=c11 -D GC_NO_SIGSETJMP" + - CONF_OPTIONS="--disable-threads --enable-gc-assertions --enable-cplusplus" - os: linux compiler: gcc env: [ CONF_OPTIONS="--enable-gc-debug --enable-cplusplus" ]