From: Darafei Praliaskouski Date: Tue, 2 Jan 2018 18:38:27 +0000 (+0000) Subject: [travis] Travis lies about cpu type which causes -march builds to fail. X-Git-Tag: 2.5.0alpha~233 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d6a55abe2905be0037823c1d9209c31b376fd0f;p=postgis [travis] Travis lies about cpu type which causes -march builds to fail. Change the build matrix. References #3967 git-svn-id: http://svn.osgeo.org/postgis/trunk@16216 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/.travis.yml b/.travis.yml index 8434d6c3e..4bc4d6acd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,9 @@ env: global: - RUNTESTFLAGS=-v matrix: - - CFLAGS="-O3 -march=native -mtune=native" - - CFLAGS="-O3 -march=native -mtune=native -fno-omit-frame-pointer -Werror" + - CFLAGS="-Og" + - CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro" + - CFLAGS="-O3 -mtune=generic -fno-omit-frame-pointer -Werror" - CFLAGS="-O0 --coverage -fprofile-arcs -ftest-coverage" LDFLAGS="--coverage -fprofile-arcs -ftest-coverage" addons: @@ -43,6 +44,7 @@ before_install: after_failure: - sudo head -n1000 /var/log/postgresql/postgresql-9.6-main.log + - cat /proc/cpuinfo after_success: - bash <(curl -s https://codecov.io/bash)