From: Sami Kerola Date: Wed, 20 Aug 2014 19:06:58 +0000 (+0300) Subject: tests: apply travis clang PATH workaround X-Git-Tag: v2.26-rc1~496 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7be73458b8af001ffe842a30d678a97b0e1d3418;p=thirdparty%2Futil-linux.git tests: apply travis clang PATH workaround As seen in Travis build log the clang is not found, causing one of the tests to fail. This change adds a workaround from Travis issue 2607 to util-linux. Reference: https://travis-ci.org/karelzak/util-linux/jobs/33056101#L3630 Reference: https://github.com/travis-ci/travis-ci/issues/2607 Signed-off-by: Sami Kerola --- diff --git a/.travis.yml b/.travis.yml index a1a15e48e7..bc2b8b9fe5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,3 +33,9 @@ script: after_script: - travis_after_script + +before_install: + - $CC --version + - which $CC + # workaround clang not system wide, fail on sudo make install + - export CC=`which $CC`