summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-09 22:36:21 +0200
committerraveit65 <[email protected]>2019-09-15 10:21:47 +0200
commitf14af86aa11acfdf6833fe0f8349f2ad47bb1f6d (patch)
tree92ea21f643801a2b257d8fa2bc2b06e6a54865f2 /.travis.yml
parentabff3730fe5be92164dd00dfc36ebc60a73f233c (diff)
downloadmarco-f14af86aa11acfdf6833fe0f8349f2ad47bb1f6d.tar.bz2
marco-f14af86aa11acfdf6833fe0f8349f2ad47bb1f6d.tar.xz
build: add --enable-more-warnings configure flag
- Remove -ansi from CFLAGS. - By default, CFLAGS: -Wall -Wcast-align -Wchar-subscripts -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-compare -Wshadow - If --enable-more-warnings, add -Wextra to CFLAGS. - Requires autoconf-archive package.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index dd0a8a42..b2faf62c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -64,6 +64,7 @@ env:
requires:
archlinux:
# Useful URL: https://git.archlinux.org/svntogit/community.git/tree/marco/trunk/PKGBUILD
+ - autoconf-archive
- clang
- gcc
- git
@@ -83,6 +84,7 @@ requires:
debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
# Useful URL: https://salsa.debian.org/debian-mate-team/marco
+ - autoconf-archive
- autopoint
- clang
- clang-tools
@@ -117,6 +119,7 @@ requires:
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/marco.git
+ - autoconf-archive
- clang-analyzer
- clang
- cppcheck-htmlreport
@@ -139,6 +142,7 @@ requires:
- zenity
ubuntu:
+ - autoconf-archive
- autopoint
- clang
- clang-tools
@@ -170,7 +174,7 @@ requires:
- zenity
variables:
- - CFLAGS="-Wall -Werror=format-security"
+ - CFLAGS="-Wall -Wcast-align -Wchar-subscripts -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-compare -Wshadow"
- 'CHECKERS="
-enable-checker deadcode.DeadStores
-enable-checker alpha.deadcode.UnreachableCode