diff options
-rw-r--r-- | .travis.yml | 11 |
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 |