aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-11-26 15:27:04 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-11-26 15:44:39 +1100
commited7753c8e12fc3a17a7c32da5873ff1f830e2aa7 (patch)
treed8bc23d7bba4c8e1d29be4d8e7fe8bffb6377f0b /.travis.yml
parentfb31ca4365630c7b090cc58a8c6f59809c8669f3 (diff)
downloadskiboot-ed7753c8e12fc3a17a7c32da5873ff1f830e2aa7.zip
skiboot-ed7753c8e12fc3a17a7c32da5873ff1f830e2aa7.tar.gz
skiboot-ed7753c8e12fc3a17a7c32da5873ff1f830e2aa7.tar.bz2
travis-ci: use build-all-arch.sh for pflash, add to coverity build
We also bump the travis environment to trusty (14.04LTS) to get a bit more modern environment that includes the cross compiler toolchains. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 1640097..918cc41 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,13 @@
language: c
+sudo: required
+dist: trusty
+
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -y gcc-4.8 libstdc++6 valgrind expect xterm
+ - sudo apt-get install -y gcc-arm-linux-gnueabi gcc-powerpc64le-linux-gnu gcc
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
- wget https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.8.0/x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz
- sudo mkdir /opt/cross
@@ -23,7 +27,8 @@ 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 && make) ; (make clean; cd external/pflash && make)
+ - make -j4 all check ; (make clean; cd external/gard && 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
@@ -34,6 +39,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"
- build_command: "make -j4 all check gard pflash"
+ 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: "make -j4 all check gard pflash; (cd external/pflash; ./build-all-arch.sh"
branch_pattern: coverity_scan