summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAndrea Bolognani <abologna@redhat.com>2017-09-08 18:42:49 +0200
committerAndrea Bolognani <abologna@redhat.com>2017-09-14 16:59:24 +0200
commit73b760c75a03dc19b0692daa00396fa6cb3351be (patch)
treeb6ff499513b8048707906311a8fdbb54ccd1480e /.travis.yml
parent2e2e44b6aca93de2ff5a53bb88afbd1e98878e70 (diff)
downloadlibvirt-73b760c75a03dc19b0692daa00396fa6cb3351be.tar.gz
travis: Don't abort build due to -Wvariadic-macros
The openwsman header files are at fault here, but precise is entirely unmaintained at this point so the issue will never be fixed. Better to ignore the error and have coverage over the Hyper-V driver than disabling it: if code that would trigger the warning will be added to libvirt, the CentOS CI will catch it. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 367baf8618..ba8ff49a19 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -65,6 +65,9 @@ env:
# The custom $PATH is just to pick up some extra binaries installed
# through homebrew on macOS and it's completely harmless on Linux
- PATH="/usr/local/opt/gettext/bin:/usr/local/opt/rpcgen/bin:$PATH"
+ # The hyperv driver fails to build with clang on precise due to this
+ # error being raised in one of openwsman header files
+ - CFLAGS="-Wno-error=variadic-macros"
- VIR_TEST_DEBUG=1
before_install: