[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH for-4.7 5/5] travis: add an alias for gcc when using clang
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.pau@xxxxxxxxxx> --- Cc: Doug Goldstein <cardoe@xxxxxxxxxx> --- .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@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |