]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: apply travis clang PATH workaround
authorSami Kerola <kerolasa@iki.fi>
Wed, 20 Aug 2014 19:06:58 +0000 (22:06 +0300)
committerKarel Zak <kzak@redhat.com>
Thu, 21 Aug 2014 08:01:01 +0000 (10:01 +0200)
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 <kerolasa@iki.fi>
.travis.yml

index a1a15e48e7452f5537ffca77b8d1ab9ee7c01bd2..bc2b8b9fe5511c0af0ade864eab38843cdc92f5c 100644 (file)
@@ -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`