From 51a14df6428785524b119ac17c38b5b7d2c991b0 Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Mon, 9 Mar 2020 20:12:28 +0100 Subject: [PATCH 1/3] travis: add testing for Python 3.5 -> 3.8 --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index a494d9e..8bf47fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,9 @@ notifications: python: - "2.7" - "3.5" + - "3.6" + - "3.7" + - "3.8" before_install: # install libvmi dependencies From b3b25fbed59bddf7a2433ba1c76c28c5c28e55c4 Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Mon, 9 Mar 2020 20:12:47 +0100 Subject: [PATCH 2/3] travis: remove test for Python2 --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8bf47fc..ef31cbc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ sudo: enabled notifications: email: false python: - - "2.7" - "3.5" - "3.6" - "3.7" From 0eae698143b5f1a1e99315389b30a91b00786789 Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Mon, 9 Mar 2020 20:43:01 +0100 Subject: [PATCH 3/3] fix build by including glib.h --- libvmi/libvmi_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvmi/libvmi_build.py b/libvmi/libvmi_build.py index 86350fe..5aed72b 100755 --- a/libvmi/libvmi_build.py +++ b/libvmi/libvmi_build.py @@ -19,7 +19,8 @@ VMI_SOURCES = [ '', '', - '' + '', + '' ] @@ -73,7 +74,6 @@ def check_header(header): CDEF_HEADERS.append('events_cdef.h') c_header_source = '\n'.join(['#include '+source for source in VMI_SOURCES]) -print(c_header_source) # set source ffi.set_source("_libvmi", c_header_source,