aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-06-21 08:54:52 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-06-21 11:22:44 +1000
commit8fd5bfd325f8dbb4ab218dfeba0d8cfcc8279066 (patch)
tree71ebc47ee9c1ca88e2208a79391e996a0799e9a9 /.travis.yml
parent2ce8fa6b7e34148263c80a7f5e69cb283d0b7bfa (diff)
downloadskiboot-8fd5bfd325f8dbb4ab218dfeba0d8cfcc8279066.zip
skiboot-8fd5bfd325f8dbb4ab218dfeba0d8cfcc8279066.tar.gz
skiboot-8fd5bfd325f8dbb4ab218dfeba0d8cfcc8279066.tar.bz2
travis: fixes for Coverity, don't run normal build for coverity build
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index 4e4ce52..16dd64d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,13 +27,15 @@ env:
script:
- - (cd opal-ci; ./build-qemu-powernv.sh)
- - ./opal-ci/fetch-debian-jessie-installer.sh
- - make -j4 all check ; (make clean; cd external/gard && CROSS= make)
- - (cd external/pflash; ./build-all-arch.sh)
- - make clean && SKIBOOT_GCOV=1 make && SKIBOOT_GCOV=1 make check
- - make clean && rm -rf builddir && mkdir builddir && make SRC=`pwd` -f ../Makefile -C builddir
- - make clean
+ - if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then
+ (cd opal-ci; ./build-qemu-powernv.sh) &&
+ ./opal-ci/fetch-debian-jessie-installer.sh &&
+ make -j4 all check ; (make clean; cd external/gard && CROSS= make) &&
+ (cd external/pflash; ./build-all-arch.sh) &&
+ make clean && SKIBOOT_GCOV=1 make && SKIBOOT_GCOV=1 make check &&
+ make clean && rm -rf builddir && mkdir builddir && make SRC=`pwd` -f ../Makefile -C builddir &&
+ make clean;
+ fi
addons:
coverity_scan:
@@ -41,6 +43,6 @@ addons:
name: "open-power/skiboot"
description: "Build submitted via Travis CI"
notification_email: stewart@linux.vnet.ibm.com
- build_command_prepend: "make clean; cov-configure --comptype gcc --compiler powerpc64-linux-gcc --template; cov-configure --comptype gcc --compiler powerpc64le-linux-gnu-gcc; cov-configure --comptype gcc --compiler arm-linux-gnueabi-gcc; cov-configure --comptype gcc --compiler x86_64-linux-gnu-gcc"
+ build_command_prepend: "cov-configure --comptype gcc --compiler powerpc64-linux-gcc --template; cov-configure --comptype gcc --compiler powerpc64le-linux-gnu-gcc; cov-configure --comptype gcc --compiler arm-linux-gnueabi-gcc; cov-configure --comptype gcc --compiler x86_64-linux-gnu-gcc"
build_command: "make -j4 all check gard pflash-coverity"
branch_pattern: coverity_scan