travis: skip building coverity, smoke, and master
PATCH v2 1/3 travis: skip building coverity, smoke, and master
Skip building of the coverity, smoke, stable, and master branches since they just fast forward from staging.
---
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Keir Fraser <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Andrew Cooper <[email protected]>
change since v1:
- ignore all coverity tested branches
- ignore stable branches as well
--- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+)
.travis.yml +7 -0
@@ -1,6 +1,13 @@ language: c dist: trusty sudo: required +# don't test master, smoke and coverity branches +branches: + except: + - master + - smoke + - /^coverity-tested\/.*/ + - /^stable-.*/ matrix: include: - compiler: gcc
Signature · 7 lines
2.4.10 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
PATCH v2 2/3 travis: use matching C++ for GCC version
When we use GCC 5.x, we need to install the C++ compiler and the C compiler together because QEMU tests for feature flags against the C compiler and assumes the C++ compiler has them. We also have to ensure that it is used. Have to do the modification of the CXX variable in two steps to ensure we support older versions of bash in use by the test machines. While we're at it simply how we select our compiler.
---
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Keir Fraser <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Andrew Cooper <[email protected]>
change since v1:
- none
--- .travis.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-)
.travis.yml +14 -11
@@ -14,20 +14,20 @@ matrix: 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-5 + env: XEN_TARGET_ARCH=x86_64 - compiler: gcc env: XEN_TARGET_ARCH=x86_64 debug=y - - compiler: gcc - env: XEN_TARGET_ARCH=x86_64 COMPILER=gcc-5 debug=y + - compiler: gcc-5 + env: XEN_TARGET_ARCH=x86_64 debug=y - compiler: clang env: XEN_TARGET_ARCH=x86_64 clang=y - - compiler: clang - env: XEN_TARGET_ARCH=x86_64 COMPILER=clang-3.8 clang=y + - compiler: clang-3.8 + env: XEN_TARGET_ARCH=x86_64 clang=y - compiler: clang env: XEN_TARGET_ARCH=x86_64 clang=y debug=y - - compiler: clang - env: XEN_TARGET_ARCH=x86_64 COMPILER=clang-3.8 clang=y debug=y + - compiler: clang-3.8 + env: XEN_TARGET_ARCH=x86_64 clang=y debug=y - compiler: gcc env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- - compiler: gcc
@@ -73,15 +73,18 @@ addons: - gcc-arm-linux-gnueabihf - gcc-aarch64-linux-gnu - gcc-5 + - g++-5 - clang-3.8 +# we must set CXX manually instead of using 'language: cpp' due to +# travis-ci/travis-ci#3871 before_script: - - export CC=${COMPILER:-${CC}} - - ${CC} --version + - export CXX=${CC/cc/++} + - export CXX=${CXX/clang/clang++} 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 ) + make dist ) after_script: - cat xen/.config notifications:
Signature · 7 lines
2.4.10 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
PATCH v2 3/3 travis: actually disable debug for non-debug
In reply to Doug GoldsteinNon-debug builds need to explicitly disable debug due to debug being defaulted to y in Config.mk
---
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Keir Fraser <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Andrew Cooper <[email protected]>
change since v1:
- none
tested at: https://travis-ci.org/cardoe/xen/builds/113700670
this run shows a failure with BIGMEM=y and debug=n which was only exposed by this change.
--- .travis.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
.travis.yml +9 -9
@@ -11,33 +11,33 @@ branches: matrix: include: - compiler: gcc - env: XEN_TARGET_ARCH=x86_64 + env: XEN_TARGET_ARCH=x86_64 debug=n - compiler: gcc - env: XEN_TARGET_ARCH=x86_64 XEN_CONFIG_EXPERT=y RANDCONFIG=y + env: XEN_TARGET_ARCH=x86_64 XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n - compiler: gcc-5 - env: XEN_TARGET_ARCH=x86_64 + env: XEN_TARGET_ARCH=x86_64 debug=n - compiler: gcc env: XEN_TARGET_ARCH=x86_64 debug=y - compiler: gcc-5 env: XEN_TARGET_ARCH=x86_64 debug=y - compiler: clang - env: XEN_TARGET_ARCH=x86_64 clang=y + env: XEN_TARGET_ARCH=x86_64 clang=y debug=n - compiler: clang-3.8 - env: XEN_TARGET_ARCH=x86_64 clang=y + env: XEN_TARGET_ARCH=x86_64 clang=y debug=n - compiler: clang env: XEN_TARGET_ARCH=x86_64 clang=y debug=y - compiler: clang-3.8 env: XEN_TARGET_ARCH=x86_64 clang=y debug=y - compiler: gcc - env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- + env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- debug=n - compiler: gcc - env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- XEN_CONFIG_EXPERT=y RANDCONFIG=y + env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n - 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- + env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- debug=n - compiler: gcc - env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- XEN_CONFIG_EXPERT=y RANDCONFIG=y + env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n - compiler: gcc env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- debug=y addons:
Signature · 7 lines
2.4.10 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Re: [PATCH v2 3/3] travis: actually disable debug for non-debug
Quoted 2 lines · Doug Goldstein
Non-debug builds need to explicitly disable debug due to debug being defaulted to y in Config.mk
Which is because by default staging has debug=y (this changes once the rcX candidates become available).
Quoted 74 lines
Signed-off-by Doug Goldstein <[email protected]>---
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Keir Fraser <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Andrew Cooper <[email protected]>change since v1:
- nonetested at: https://travis-ci.org/cardoe/xen/builds/113700670
this run shows a failure with BIGMEM=y and debug=n which was only exposed by this change.--- .travis.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-).travis.yml +9
-9@@ -11,33 +11,33 @@ branches: matrix: include: - compiler: gcc - env: XEN_TARGET_ARCH=x86_64 + env: XEN_TARGET_ARCH=x86_64 debug=n - compiler: gcc - env: XEN_TARGET_ARCH=x86_64 XEN_CONFIG_EXPERT=y RANDCONFIG=y + env: XEN_TARGET_ARCH=x86_64 XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n - compiler: gcc-5 - env: XEN_TARGET_ARCH=x86_64 + env: XEN_TARGET_ARCH=x86_64 debug=n - compiler: gcc env: XEN_TARGET_ARCH=x86_64 debug=y - compiler: gcc-5 env: XEN_TARGET_ARCH=x86_64 debug=y - compiler: clang - env: XEN_TARGET_ARCH=x86_64 clang=y + env: XEN_TARGET_ARCH=x86_64 clang=y debug=n - compiler: clang-3.8 - env: XEN_TARGET_ARCH=x86_64 clang=y + env: XEN_TARGET_ARCH=x86_64 clang=y debug=n - compiler: clang env: XEN_TARGET_ARCH=x86_64 clang=y debug=y - compiler: clang-3.8 env: XEN_TARGET_ARCH=x86_64 clang=y debug=y - compiler: gcc - env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- + env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- debug=n - compiler: gcc - env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- XEN_CONFIG_EXPERT=y RANDCONFIG=y + env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n - 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- + env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- debug=n - compiler: gcc - env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- XEN_CONFIG_EXPERT=y RANDCONFIG=y + env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n - compiler: gcc env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- debug=y addons:Signature · 7 lines
2.4.10 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 5 lines · Doug Goldstein
Skip building of the coverity, smoke, stable, and master branches since they just fast forward from staging.
Suggested-by Andrew Cooper <[email protected]>Signed-off-by Doug Goldstein <[email protected]>
and applied.
Quoted 40 lines
---
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Keir Fraser <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Andrew Cooper <[email protected]>change since v1:
- ignore all coverity tested branches
- ignore stable branches as well--- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+).travis.yml +7
-0@@ -1,6 +1,13 @@ language: c dist: trusty sudo: required +# don't test master, smoke and coverity branches +branches: + except: + - master + - smoke + - /^coverity-tested\/.*/ + - /^stable-.*/ matrix: include: - compiler: gccSignature · 7 lines
2.4.10 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel