From: Sami Kerola <kerolasa@iki.fi>
To: util-linux@vger.kernel.org
Cc: kerolasa@iki.fi
Subject: [PATCH] tests: apply travis clang PATH workaround
Date: Wed, 20 Aug 2014 22:06:58 +0300 [thread overview]
Message-ID: <1408561618-11277-1-git-send-email-kerolasa@iki.fi> (raw)
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
next reply other threads:[~2014-08-20 19:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 19:06 Sami Kerola [this message]
2014-08-21 8:03 ` [PATCH] tests: apply travis clang PATH workaround Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1408561618-11277-1-git-send-email-kerolasa@iki.fi \
--to=kerolasa@iki.fi \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox