aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
AgeCommit message (Collapse)AuthorFilesLines
2021-11-05CI: Remove travis config fileFrederic Barrat1-71/+0
travis.org is dead. Using travis-ci.com has some money implication and we won't be able to check whether the config is still valid and the tests passing. We migrated most of the existing CI on travis to github actions. So this can only bit-rot so let's remove it. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
2021-04-07opal-ci: Replace fedora32 with fedora33Vasant Hegde1-1/+1
Ideally we should move to fedora34. But looks like docker repository doesn't have fedora34-ppc64le image. Hence moving to fedora33 for now. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Reviewed-by: Dan Horák <dan@danny.cz>
2021-04-07travis: Update email notificationVasant Hegde1-1/+1
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Reviewed-by: Dan Horák <dan@danny.cz>
2020-06-17travis: Add clang specific build jobOliver O'Halloran1-0/+3
Right now clang doesn't support the -ffixed-r<number> compiler options that we rely on for the skiboot cpu_thread pointer so it can't build skiboot. Remove the clang builds from the debian-unstable and ubuntu-latest and builds in favour of a clang specific job. This allows those jobs to pass normally and gives us as specific job to monitor to see when support for those options lands in clang. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-17travis: Disable seccomp on child containersOliver O'Halloran1-0/+1
We've been hitting the following issue with valgrind breaking when run inside a Fedora 32 container: [ BOOT TEST ] ccan/check_type/test/run valgrind: ccan/check_type/test/run: Operation not permitted make: *** [/build/ccan/Makefile.check:24: ccan/check_type/test/run-check] Error 126 make: *** Waiting for unfinished jobs.... This seems to be a result of the default seccomp profile blocking system calls that valgrind wants to use to inspect the process being debugged (i.e. ptrace). Fix this by using the unrestricted seccomp profile and giving the container the ptrace capability. Travis uses ephemereal VMs for each job so this isn't any kind of security issue. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-17travis: Add an explicit tmpfs mountOliver O'Halloran1-0/+1
A tempfs mount is missing on fedora 32 which seems to be causing errors when testcases attempt to write there. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-17travis: Allow ubuntu-latest to failOliver O'Halloran1-0/+1
Ubuntu-latest is a rolling development release, similar to rawhide. There's no need to treat failing there as an actual error. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-17travis: move container build into the install stepOliver O'Halloran1-2/+11
Travis automatically hides the output of completed build stages. Moving the `docker build` output into the install stage results in less spam to wade through while looking at CI failures. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-17ci: Drop debian strechOliver O'Halloran1-1/+0
This used the same build script as ubuntu 16.04 and is now broken. Remove it also. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>t Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-17travis: Update configOliver O'Halloran1-20/+18
Move to using Ubuntu 18.04 rather than 14.04 (which has been out of support for years now) and fix up some warnings from the config file checker. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-17travis: Remove the unused coverity tokenOliver O'Halloran1-4/+3
In 7cd8402c3bec the coverity job config was moved to a seperate branch. The encrypted token was left in the main .travis.yaml file though so travis includes the token in the web interfaces which crowds out the information we actually care about (which docker container we used). Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-11opal-ci: Add Ubuntu20.04 supportVasant Hegde1-1/+1
And drop Ubuntu 16.04. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Reviewed-by: Dan Horák <dan@danny.cz> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2020-06-11opal-ci: Fix broken fedora buildsVasant Hegde1-1/+1
- Our device tree test cases are passing with fedora shipped `dtc` command. Hence remove `dtc` build process. - Replace fedora30 with fedora32. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Reviewed-by: Dan Horák <dan@danny.cz> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-12-16README.md: Add information on docsOliver O'Halloran1-1/+1
Add a link to the auto-generated github pages documentation and add instructions for how to build them using Sphinx and some references on reStructuredText. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-07-26travis: remove fedora29Stewart Smith1-1/+0
No need to keep old Fedora releases around. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-07-26travis: Enable fedora30 for ppc64leStewart Smith1-2/+0
Back in ac734a084319 when we added fedora30, we were seeing weird failures on ppc64le. We no longer see them, so enforce fedora30 passing there. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-06-24doc: travis-ci deploy docs!Stewart Smith1-0/+11
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-19travis: add back Coverity ScanStewart Smith1-0/+9
We need this in the master branch so that the coverity_scan branch gets picked up. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-05-21opal-ci: Add Fedora 30Stewart Smith1-0/+3
Disable Fedora30 on ppc64le due to mysterious failures Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-03-15Drop old Coverity jobs (we build via separate .travis.yml in a branch)Stewart Smith1-24/+2
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-03-15opal-ci: drop fedora 28Stewart Smith1-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>
2019-03-15opal-ci: Drop unneded reference to ubuntu 12.04Stewart Smith1-5/+0
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-12-13opal-ci: Drop fedora27, add fedora29Stewart Smith1-1/+1
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-11-28travis: Coverity fixed their SSL certJoel Stanley1-3/+0
_ _ _ _ _ _ ( ) ( ) ___ ___ ___ _ _ _ __(_) |_ _ _ ( ) ( ) \| \| / __|/ _ \/ __| | | | '__| | __| | | | |/ |/ \__ \ __/ (__| |_| | | | | |_| |_| | |___/\___|\___|\__,_|_| |_|\__|\__, | |___/ Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-10-29travis/ci: rework Dockerfiles to produce build artifactsStewart Smith1-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>
2018-05-29travis: remove Ubuntu 12.04Stewart Smith1-1/+0
It's been EOL since April 2017 (now 13 months ago). Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-29travis: add fedora28Stewart Smith1-0/+1
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-09travis: Require Ubuntu 18.04 to pass, fix on ppc64leStewart Smith1-1/+0
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-05-06opal-ci: Add Ubuntu 18.04Joel Stanley1-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>
2018-05-04travis: remove obsolete fedora 24,25,26Stewart Smith1-7/+0
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2018-04-19travis: Enable ppc64le buildsStewart Smith1-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>
2017-11-22travis: Add Fedora 27Stewart Smith1-0/+1
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-08-24travis: Debian Stretch must passStewart Smith1-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>
2017-07-20travis: Add debian stretch and unstableStewart Smith1-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>
2017-07-12travis: add fedora26Stewart Smith1-0/+1
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-05-12travis: stop allowing fedora24 and fedora25 to failStewart Smith1-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>
2016-12-22travis: enable fedora25Stewart Smith1-0/+2
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-12-22travis: always pull new docker imageStewart Smith1-1/+1
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-11-24travis: add fedora rawhideStewart Smith1-0/+2
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-11-24travis: enable ccacheStewart Smith1-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>
2016-11-08travis: allow failures of fedora24Stewart Smith1-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>
2016-11-02travis-ci: use Docker containers for a matrix of platformsStewart Smith1-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>
2016-06-21travis/coverity: don't build gard/pflash for nowStewart Smith1-1/+1
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-06-21travis: fixes for Coverity, don't run normal build for coverity buildStewart Smith1-8/+10
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-06-20travis/coverity: Add workaround for coverity certificatesStewart Smith1-0/+1
https://github.com/travis-ci/travis-ci/issues/6142 Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-05-03gard: disable cross compile for travisStewart Smith1-1/+1
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-05-02Disable cross compile of opal-prdStewart Smith1-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>
2016-01-15travis: Add external/opal-prd build and testsCyril Bur1-0/+5
Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-11-27Update hack for building pflash for coverity scanStewart Smith1-1/+1
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-11-26travis-ci: use build-all-arch.sh for pflash, add to coverity buildStewart Smith1-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>