summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorSami Kerola2014-08-20 21:06:58 +0200
committerKarel Zak2014-08-21 10:01:01 +0200
commit7be73458b8af001ffe842a30d678a97b0e1d3418 (patch)
tree92fb9973eb500eb3b250b327ae4511e4065d7f8a /.travis.yml
parentlogger: use generic --id=<id> (diff)
downloadkernel-qcow2-util-linux-7be73458b8af001ffe842a30d678a97b0e1d3418.tar.gz
kernel-qcow2-util-linux-7be73458b8af001ffe842a30d678a97b0e1d3418.tar.xz
kernel-qcow2-util-linux-7be73458b8af001ffe842a30d678a97b0e1d3418.zip
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 <kerolasa@iki.fi>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index a1a15e48e..bc2b8b9fe 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`