aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2019-01-02 16:36:47 -0800
committerTadeusz Struk <tadeusz.struk@intel.com>2019-01-07 10:04:21 -0800
commit294829a43b5ef6bd600dab9398fd5626e819d543 (patch)
tree6dacd871962800ae4446668febc0e101c0f27b13 /.travis.yml
parent303412cb9a12044525346a0da68d62e00ad5cdd1 (diff)
downloadtpm2-tss-294829a43b5ef6bd600dab9398fd5626e819d543.tar.gz
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>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index e174bd73..463f04d4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,7 +35,6 @@ addons:
- realpath
- lcov
- libssl-dev
- - uthash-dev
- gnulib
coverity_scan:
project:
@@ -77,6 +76,11 @@ install:
- 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}