[esnacc-dev] [PATCH] travis: Work around libtoolize errors

Aaron Conole aconole at bytheb.org
Fri Sep 23 21:25:51 UTC 2016


Recent travis update broke libtoolize, so we'll work around the
libtool problems.

Signed-off-by: Aaron Conole <aconole at bytheb.org>
---
 .travis.yml       | 2 ++
 travis-prepare.sh | 6 ++++++
 2 files changed, 8 insertions(+)
 create mode 100755 travis-prepare.sh

diff --git a/.travis.yml b/.travis.yml
index 0913ac3..464540a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,6 +27,8 @@ addons:
     build_command:   "make"
     branch_pattern: coverity
 
+before_script: ./travis-prepare.sh
+
 script:
    - ./boot.sh
    - ./configure 
diff --git a/travis-prepare.sh b/travis-prepare.sh
new file mode 100755
index 0000000..2dcf839
--- /dev/null
+++ b/travis-prepare.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
+    brew uninstall libtool && brew install libtool ||
+            echo "Failed fixing libtool error"
+fi
-- 
2.7.4



More information about the dev mailing list