In order to prevent it's usage. Since the tests are run on a Linux system
gcc is always present, so it's hard to detect if gcc is used in the clang
build.

Signed-off-by: Roger Pau Monné <roger....@citrix.com>
---
Cc: Doug Goldstein <car...@cardoe.com>
---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.travis.yml b/.travis.yml
index 741a8ab..a6688cc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -80,6 +80,7 @@ addons:
 before_script:
     - export CXX=${CC/cc/++}
     - export CXX=${CXX/clang/clang++}
+    - [ "x${clang}" = "xy" ] && alias gcc=false
 script:
     - ( [ "x${RANDCONFIG}" = "xy" ] && ( make -C xen randconfig )
       || exit 0 )
-- 
2.6.4 (Apple Git-63)


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to