]> granicus.if.org Git - gc/commitdiff
Travis CI: Test also with -std=c11 (in single-threaded mode only)
authorIvan Maidanski <ivmai@mail.ru>
Tue, 28 Mar 2017 20:22:17 +0000 (23:22 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 10 Apr 2017 06:27:38 +0000 (09:27 +0300)
(Cherry-pick commits 47483e72a1b2bb from 'master' branch.)

.travis.yml

index ef7a021a779687a276ff3cde3032b73c515a9403..c78042d1ca1e2927bf7653a844ca11ffd0f5c31d 100644 (file)
@@ -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" ]