[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2/2] travis: add randconfig test target
Add another build target which uses randconfig to randomize the config file so that we build test more than the default config. Signed-off-by: Doug Goldstein <cardoe@xxxxxxxxxx> --- CC: Ian Campbell <ian.campbell@xxxxxxxxxx> CC: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> CC: Jan Beulich <jbeulich@xxxxxxxx> CC: Keir Fraser <keir@xxxxxxx> CC: Tim Deegan <tim@xxxxxxx> --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index c7227ba..7dbd82a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,8 @@ matrix: - compiler: gcc env: XEN_TARGET_ARCH=x86_64 - compiler: gcc + env: XEN_TARGET_ARCH=x86_64 XEN_CONFIG_EXPERT=y RANDCONFIG=y + - compiler: gcc env: XEN_TARGET_ARCH=x86_64 COMPILER=gcc-5 - compiler: gcc env: XEN_TARGET_ARCH=x86_64 debug=y @@ -24,10 +26,14 @@ matrix: - compiler: gcc env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- - compiler: gcc + env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- XEN_CONFIG_EXPERT=y RANDCONFIG=y + - compiler: gcc env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- debug=y - compiler: gcc env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- - compiler: gcc + env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- XEN_CONFIG_EXPERT=y RANDCONFIG=y + - compiler: gcc env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- debug=y addons: apt: @@ -69,5 +75,9 @@ before_script: - export CC=${COMPILER:-${CC}} - ${CC} --version script: + - ( [ "x${RANDCONFIG}" = "xy" ] && ( make -C xen randconfig ) + || exit 0 ) - ( ./configure --disable-tools --disable-stubdom --enable-docs && make CC="${CROSS_COMPILE}${CC}" HOSTCC="${CC}" dist ) +after_script: + - cat xen/.config -- 2.5.4 (Apple Git-61) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |