[lxc-devel] [lxc/master] Travis: Adds -Wall and -Werror gcc flags to automatic build.

tomponline on Github lxc-bot at linuxcontainers.org
Tue Mar 19 11:42:32 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 411 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190319/8319ad16/attachment.bin>
-------------- next part --------------
From 49a4c18bf3aba0608f2bcf2e6e2c396327e491e5 Mon Sep 17 00:00:00 2001
From: tomponline <tomp at tomp.uk>
Date: Tue, 19 Mar 2019 11:40:47 +0000
Subject: [PATCH] Travis: Adds -Wall and -Werror gcc flags to automatic build.

Signed-off-by: tomponline <tomp at tomp.uk>
---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.travis.yml b/.travis.yml
index c0ca0d6fa6..7d6273d658 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,6 +9,7 @@ before_install:
 script:
  - ./coccinelle/run-coccinelle.sh -i
  - git diff --exit-code
+ - export CFLAGS="-Wall -Werror"
  - ./autogen.sh
  - rm -Rf build
  - mkdir build


More information about the lxc-devel mailing list