[go: nahoru, domu]

travis: pull newest version of uthash

The 2.1.0 version of uthash contains a fix for HASH_ADD_INT
macro issue, which trigged a clang static analysis warning.
https://github.com/troydhanson/uthash/issues/166

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
diff --git a/.travis.yml b/.travis.yml
index e174bd7..463f04d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,7 +35,6 @@
     - realpath
     - lcov
     - libssl-dev
-    - uthash-dev
     - gnulib
   coverity_scan:
     project:
@@ -77,6 +76,11 @@
   - mkdir ibmtpm
   - tar axf ibmtpm974.tar.gz -C ibmtpm
   - make -C ibmtpm/src -j$(nproc)
+# 2.1.0 version of uthash
+  - wget --no-check-certificate https://github.com/troydhanson/uthash/archive/v2.1.0.tar.gz
+  - tar xzf v2.1.0.tar.gz
+  - mkdir -p $(pwd)/osslinstall/usr/local/include
+  - cp uthash-2.1.0/src/*.h $(pwd)/osslinstall/usr/local/include/
 
 before_script:
   - ./bootstrap -I ${GNULIB_M4}