public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests: apply travis clang PATH workaround
@ 2014-08-20 19:06 Sami Kerola
  2014-08-21  8:03 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Sami Kerola @ 2014-08-20 19:06 UTC (permalink / raw)
  To: util-linux; +Cc: kerolasa

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 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index a1a15e4..bc2b8b9 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`
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tests: apply travis clang PATH workaround
  2014-08-20 19:06 [PATCH] tests: apply travis clang PATH workaround Sami Kerola
@ 2014-08-21  8:03 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2014-08-21  8:03 UTC (permalink / raw)
  To: Sami Kerola; +Cc: util-linux

On Wed, Aug 20, 2014 at 10:06:58PM +0300, Sami Kerola wrote:
>  .travis.yml | 6 ++++++
>  1 file changed, 6 insertions(+)

 Applied, thanks! 

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-21  8:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20 19:06 [PATCH] tests: apply travis clang PATH workaround Sami Kerola
2014-08-21  8:03 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox