From b1a6e1001b42e647a6480b338ade1a9521913f04 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 23 Mar 2017 10:37:59 +0300 Subject: [PATCH] Travis CI: Test also with -D _FORTIFY_SOURCE, -std=c11, -std=c89 (Cherry-pick commit f541d2a from 'master' branch.) --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4c5184f..4e268e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,13 @@ matrix: - CFLAGS_EXTRA="-O3 -march=native" - CONF_OPTIONS="--enable-assertions" - os: linux + compiler: clang + dist: trusty + env: [ CFLAGS_EXTRA="-march=native -std=c11" ] + - os: linux + compiler: gcc + env: [ CFLAGS_EXTRA="-march=native -D _FORTIFY_SOURCE=2 -std=c89" ] + - os: linux addons: { apt: { packages: [ gcc-multilib ] } } compiler: clang env: @@ -35,7 +42,7 @@ matrix: - CONF_OPTIONS="--enable-assertions" - os: osx env: - - CFLAGS_EXTRA="-m32 -march=native" + - CFLAGS_EXTRA="-m32 -march=native -D _FORTIFY_SOURCE=2" - CONF_OPTIONS="--enable-assertions" install: -- 2.7.4