summaryrefslogtreecommitdiffstats
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* Drop old Coverity jobs (we build via separate .travis.yml in a branch)Stewart Smith2019-03-151-24/+2
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci: drop fedora 28Stewart Smith2019-03-151-1/+0
| | | | | | | We're getting close to Fedora 30, and keeping N-1 fedora around for too long doesn't really add much. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci: Drop unneded reference to ubuntu 12.04Stewart Smith2019-03-151-5/+0
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci: Drop fedora27, add fedora29Stewart Smith2018-12-131-1/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis: Coverity fixed their SSL certJoel Stanley2018-11-281-3/+0
| | | | | | | | | | | | _ _ _ _ _ _ ( ) ( ) ___ ___ ___ _ _ _ __(_) |_ _ _ ( ) ( ) \| \| / __|/ _ \/ __| | | | '__| | __| | | | |/ |/ \__ \ __/ (__| |_| | | | | |_| |_| | |___/\___|\___|\__,_|_| |_|\__|\__, | |___/ Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis/ci: rework Dockerfiles to produce build artifactsStewart Smith2018-10-291-1/+1
| | | | | | | ubuntu-latest was also missing clang, as ubuntu-latest is closer to ubuntu 18.04 than 16.04 Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis: remove Ubuntu 12.04Stewart Smith2018-05-291-1/+0
| | | | | | It's been EOL since April 2017 (now 13 months ago). Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis: add fedora28Stewart Smith2018-05-291-0/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis: Require Ubuntu 18.04 to pass, fix on ppc64leStewart Smith2018-05-091-1/+0
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* opal-ci: Add Ubuntu 18.04Joel Stanley2018-05-061-0/+2
| | | | | | | | | | | | | | | | | | | | | Start doing builds on latest LTS. We can simplify the build script a little, as we know that this version of Ubuntu ships with an ARM cross compiler and a Qemu that can run the tests. This provides us with: gcc 7.3.0 (for native and cross-builds) qemu 2.11 clang 6 Simplify the docker script a little by merging the two different install lines, and getting rid of the duplicate 'apt-get update' steps. We now install clang in preparation for future shenanigans, and use the system qemu instead of building one ourselves. Signed-off-by: Joel Stanley <joel@jms.id.au> [stewart: allow 18.04 to fail as we stabilise it in travis] Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis: remove obsolete fedora 24,25,26Stewart Smith2018-05-041-7/+0
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis: Enable ppc64le buildsStewart Smith2018-04-191-0/+16
| | | | | | | | | | | | | At least on the IBM Travis Enterprise instance, we can now do ppc64le builds! We can only build a subset of our matrix due to availability of ppc64le distros. The Dockerfiles need some tweaking to only attempt to install (x86_64 only) Mambo binaries, as well as the build scripts. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* travis: Add Fedora 27Stewart Smith2017-11-221-0/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: Debian Stretch must passStewart Smith2017-08-241-1/+0
| | | | | | | this means we don't run systemsim-p8 on debian stretch as: "libcrypto.so.1.0.0: cannot open shared object file: No such file or directory" Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: Add debian stretch and unstableStewart Smith2017-07-201-0/+4
| | | | | | | | At the moment, we mark them both as being able to fail, as we're hitting an assert in one of the unit tests on debian stretch, and that hasn't yet been chased down. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: add fedora26Stewart Smith2017-07-121-0/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: stop allowing fedora24 and fedora25 to failStewart Smith2017-05-121-2/+0
| | | | | | | | They've been really reliable for a while now, so let's switch to not ignoring any failures there (when introduced, there were some problems with the fedora mirrors that could cause spurious failures) Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: enable fedora25Stewart Smith2016-12-221-0/+2
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: always pull new docker imageStewart Smith2016-12-221-1/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: add fedora rawhideStewart Smith2016-11-241-0/+2
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: enable ccacheStewart Smith2016-11-241-1/+3
| | | | | | | Primarily this combats the long time it takes to build qemu in our build scripts. Practically, cuts a couple of minutes from build. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: allow failures of fedora24Stewart Smith2016-11-081-0/+3
| | | | | | | | | Because Fedora repositories are unreliable and we often get: Error: Failed to synchronize cache for repo 'updates' :( Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis-ci: use Docker containers for a matrix of platformsStewart Smith2016-11-021-29/+30
| | | | | | | | | | | | This greatly simplifies the build process for travis, yet makes it more powerful and increases coverage without increasing wall time to test. Travis has the concept of a build matrix, and we want to ensure we continue to build succesfully on a variety of platforms and compiler combinations. We limit what we run on some OSs to conserve vital sanity. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis/coverity: don't build gard/pflash for nowStewart Smith2016-06-211-1/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: fixes for Coverity, don't run normal build for coverity buildStewart Smith2016-06-211-8/+10
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis/coverity: Add workaround for coverity certificatesStewart Smith2016-06-201-0/+1
| | | | | | https://github.com/travis-ci/travis-ci/issues/6142 Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* gard: disable cross compile for travisStewart Smith2016-05-031-1/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Disable cross compile of opal-prdStewart Smith2016-05-021-4/+0
| | | | | | | | Current travis-ci seems to no longer do this terribly cleanly. Just disable it for now.. it was never a great test anyway. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: Add external/opal-prd build and testsCyril Bur2016-01-151-0/+5
| | | | | Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Update hack for building pflash for coverity scanStewart Smith2015-11-271-1/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis-ci: use build-all-arch.sh for pflash, add to coverity buildStewart Smith2015-11-261-3/+8
| | | | | | | | 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>
* Add Debian Jessie installer boot testStewart Smith2015-11-261-0/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Enable building pflash for coverity (travis)Stewart Smith2015-11-171-1/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Support PowerNV Qemu for running testsStewart Smith2015-10-261-0/+2
| | | | | | | | | | | | | | | | | | We now run tests under both Mambo and QEMU PowerNV model. Also added are scripts in opal-ci/ for building powernv model qemu. Currently, this is not yet in upstream qemu, so we build from Ben's branch. You can start using qemu along with/instead of Mambo by: 1) (cd ./opal-ci; sudo ./install-deps-qemu-powernv.sh; ./build-qemu-powernv.sh) 2) Pointing QEMU_PATH and QEMU_BINARY environment variables to appropriate qemu binary with powernv model When building qemu ourselves, we build a *specific* known good tag from the open-power tree. This should ensure that into the future existing test scripts should continue to function. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* coverity scan through travis-ciStewart Smith2015-09-081-5/+14
| | | | | | Include a bit of a hack to build gard for coverity too Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* build pflash in travis-ciStewart Smith2015-09-011-0/+2
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Build gard utility in travis-ciStewart Smith2015-09-011-0/+3
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis-ci: test building out of treeStewart Smith2015-08-141-0/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* update .travis.yml to also do a gcov buildStewart Smith2015-06-021-0/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* travis: Install power8 simulator for make checkJoel Stanley2014-12-191-4/+3
| | | | | | | | | | | | | | | | | This downloads and installs mambo, the power8 simulator, including some dependencies to ensure it runs on Travis' ancient Ubuntu 12.04. Without the newer libc, you'll see a warning like this: /opt/ibm/systemsim-p8/bin/systemsim-pegasus: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /opt/ibm/systemsim-p8/bin/systemsim-pegasus) Where GLIBCXX_3.4.20 is GCC 4.9. This is why we require libstdc++ from the ppa. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Add Travis configurationJoel Stanley2014-11-261-0/+21
This will allow Travis CI (https://travis-ci.org) to build the firmware and run the test suite. In the future we can also use it to run and publish the results of scan-build and lcov. Travis build environments are stuck back on 12.04, so we don't have a powerpc cross compiler as part of the archive. Instead download one from kernel.org and use that. The 'make check' tests rely on newer -Wstack-usage flags that are not present on the old version of gcc shipped with 12.04. Install 4.8 from the toolchain ppa and set it to be the system default. The tests also require valgrind, so include that in the VM environment. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud