diff options
author | Thomas Haller <thaller@redhat.com> | 2017-11-09 17:04:07 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-11-09 17:34:39 +0100 |
commit | 595aaf0f3edcc2111207aa0321921e9217fc8b59 (patch) | |
tree | 1b2b7c7576beef33aad5b49de5a6b02fd760cb4c /.travis.yml | |
parent | 650a47e16c648d2e2c6e5528accf520f778db0dc (diff) | |
download | NetworkManager-595aaf0f3edcc2111207aa0321921e9217fc8b59.tar.gz |
all: update compatiblity for older libjansson versionsth/jansson
- nm-ovsdb.c uses json_load_callback(), which is jansson v2.4.
Hence, it cannot build the OVS plugin in our Travis-CI, which is
still on Ubuntu Precise. Disable building the plugin in travis and
add a compiler warning when building against an older version.
- since jansson v2.3, there is json_object_key_to_iter() to implement
the for-each macros. Use it in json_object_foreach_safe() when
available.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 0bcda1ded9..77b623bdab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ addons: coverity_scan: project: name: NetworkManager/NetworkManager - build_command_prepend: sh autogen.sh --with-systemd-logind=no --enable-more-warnings=no + build_command_prepend: sh autogen.sh --with-systemd-logind=no --enable-more-warnings=no --disable-ovs build_command: make -j4 branch_pattern: .*coverity.* |