summaryrefslogtreecommitdiff
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* travis: Ensure we use pytest 2.8.7Tom Rini2018-11-151-1/+1
| | | | | | | | | | The latest version of pytest (4.0.0) makes some of the code we have in test/py/conftest.py a fatal error that needs to be migrated. Unfortunately this in turn requires changes that don't exist in older versions of pytest such as 2.8.7 that ships with Ubuntu 16.04. Force travis to use this older version of pytest. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis: Rework Freescale ARM jobs a bitTom Rini2018-10-231-5/+11
| | | | | | | | | | | - Split the AArch64 LS10xx and LS20xx builds into their own jobs, and then exclude only ls1/ls2 from the catch-all. This moves the S32V234 job (and future i.MX8*) to the catch-all. - Split spear out from arm926ejs and exclude freescale, not mx from that job. The older Freescale i.MX boards are caught by the catch-all job for Freescale but now we build the non-Freescale older i.MX platforms. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis: Add qemu-x86_64 target for test.py testingBin Meng2018-10-221-0/+8
| | | | | | | Add qemu-x86_64 to the list of targets we use for test.py runs. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* travis: Update to use QEMU 3.0.0 for testingBin Meng2018-10-221-1/+1
| | | | | | | This updates travis-ci to use QEMU 3.0.0 for testing. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* travis: Generate grub_x64.efi for qemu-x86_64Bin Meng2018-10-221-0/+3
| | | | | | | grub_x86.efi is for 32-bit QEMU. Generate the 64-bit one. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* travis: Add sandbox/clang-7 supportTom Rini2018-10-191-7/+20
| | | | | | | | | | | | | | To make testing with clang support easier, add sandbox/clang-7 combination to our testing matrix. To facilitate this, switch to using the "sources" method that the travis.yml file supports to list additional repositories and add the official one for llvm-7. Due to buildman not supporting using clang at this time add logic to manually build a single sandbox configuration in the expected output directory so that we can still invoke all of our tests. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* travis: Switch to i386 version toolchain for x86Bin Meng2018-10-191-8/+8
| | | | | | | | | Currently this uses x86_64 version toolchain for x86 build in travis-ci. Change it to i386 version to avoid updating the buildman toolchain path every time when the toolchain version number is changed, eg: from 7.3.0 to 8.1.0. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
* travis: Remove or32 toolchain infoBin Meng2018-10-191-1/+0
| | | | | | or32 is not supported by U-Boot anymore. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
* binman: Run tests concurrentlySimon Glass2018-10-081-0/+1
| | | | | | | | | | | | | | | | | At present the tests run one after the other using a single CPU. This is not very efficient. Bring in the concurrencytest module and run the tests concurrently, using one process for each CPU by default. A -P option allows this to be overridden, which is necessary for code-coverage to function correctly. This requires fixing a few tests which are currently not fully independent. At some point we might consider doing this across all pytests in U-Boot. There is a pytest version that supports specifying the number of processes to use, but it did not work for me. Signed-off-by: Simon Glass <sjg@chromium.org>
* binman: Support compressed entriesSimon Glass2018-09-291-0/+1
| | | | | | | | Add support for compressing blob entries. This can help reduce image sizes for many types of data. It requires that the firmware be able to decompress the data at run-time. Signed-off-by: Simon Glass <sjg@chromium.org>
* .travis.yml: Fix typo in sun7i job descriptionTuomas Tynkkynen2018-09-101-1/+1
| | | | | | 'builman' -> 'buildman' Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
* travis: Use kernel.org pre-built toolchain for riscvBin Meng2018-09-051-3/+2
| | | | | | | This updates travis configuration to use kernel.org pre-built toolchain for riscv. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
* travis: give every job a nameStephen Warren2018-08-101-92/+136
| | | | | | | | | | | Travis CI now supports giving jobs an explicit name. Do this for all jobs. This allows more direct control over jobs names than the previous automatic or implicit naming based on the environment variables or script text. Signed-off-by: Stephen Warren <swarren@nvidia.com> [trini: Update names for jobs added/changed since posting] Signed-off-by: Tom Rini <trini@konsulko.com>
* .travis.yml: Exclude openrd platformsTom Rini2018-07-311-1/+1
| | | | | | | | | The openrd platforms are currently orphaned, and are constantly on-edge or overflowing their binary limit. Exclude them from travis for now. Cc: Vagrant Cascadian <vagrant@debian.org> Cc: Chris Packham <judge.packham@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
* .travis.yml: Exclude kirkwood machines from the arm926ejs jobTom Rini2018-07-311-1/+1
| | | | | | | We have a specific job for kirkwood platforms so exclude them from this job. Signed-off-by: Tom Rini <trini@konsulko.com>
* board/aries: RemoveTom Rini2018-07-021-3/+1
| | | | | | | The various Aries Embedded boards have been orphaned for a year and no one has come forward to take care of them. Remove. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis.yml: Support RISC-V 64-bitRick Chen2018-05-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | Fix riscv: ax25-ae350 build fail problem https://travis-ci.org/trini/u-boot/jobs/385147373 ... Building current source for 1 boards (1 thread, 2 jobs per thread) riscv: + ax25-ae350 +arch/riscv/cpu/ax25/start.S: Assembler messages: +arch/riscv/cpu/ax25/start.S:48: Error: unrecognized opcode `sd a2,0(t0)' +arch/riscv/cpu/ax25/start.S:112: Error: unrecognized opcode `ld t5,0(t0)' ... After apply the commit configs: ax25-ae350: Set 64-bit as default configuration Toolchain shall be also setuped with 64-bit in .travis.yml. Signed-off-by: Rick Chen <rick@andestech.com> Signed-off-by: Rick Chen <rickchen36@gmail.com> Reviewed-by: Chih-Mao Chen <cmchen@andestech.com> Cc: Greentime Hu <green.hu@gmail.com>
* .travis.yml: Further optimizationsTom Rini2018-05-221-43/+14
| | | | | | | | | - Xilinx aarch64 is caught in the general xilinx arm job, exclude from the general aarch64 job. - Give the generic aarch64 job a better name - Re-sort the PowerPC jobs so that we can complete them a bit quicker. Signed-off-by: Tom Rini <trini@konsulko.com>
* buildman: support newer gcc versions from kernel.orgDaniel Schwierzeck2018-05-221-12/+26
| | | | | | | | | | | | | Add support for gcc versions 7.3.0, 6.4.0 and 4.9.4. Also use a regex for matching the tarball names. Some gcc versions use '-ARCH-' instead of '_ARCH-'. As part of this, we switch TravisCI to also using these toolchains for all platforms. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
* SPDX: Convert all of our single license tags to Linux Kernel styleTom Rini2018-05-071-1/+1
| | | | | | | | | | | | | | | | | | | | When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <trini@konsulko.com>
* ARC: Bump ARC tools used in TravisCI to the most recent release arc-2017.09Alexey Brodkin2018-04-021-3/+3
| | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* .travis.yml: Add lzopTom Rini2018-03-141-0/+1
| | | | | | | We need lzop now in order to make some FIT images that use LZO compression on the contents. Signed-off-by: Tom Rini <trini@konsulko.com>
* .travis.yml: test xtensa xtfpga board in QEMUMax Filippov2018-02-131-0/+7
| | | | | | | This allows running tests on emulated KC705 board with DC233C xtensa core. It expects to find conf.xtfpga_qemu in the uboot-test-hooks. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* .travis.yml: download xtensa prebuilt toolchainMax Filippov2018-02-131-2/+6
| | | | | | | xtensa toolchains are core-specific, so give full toolchain name and download corresponding prebuilt toolchain from the github release. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* travis.yml: run buildman with option -EDaniel Schwierzeck2018-02-041-1/+1
| | | | | | This forces all compiler warnings to be treated as errors. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
* travis.yml: fix 'set +e' in build scriptDaniel Schwierzeck2018-02-041-3/+2
| | | | | | | | The build script should not manipulate shell flags (especially '-e'). A non-zero exit value can also be catched with 'cmd || ret=$?'. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* Revert "travis-ci: Add qemu-x86_64 target"Tom Rini2018-01-221-7/+0
| | | | | | | | This reverts commit 998ae28799c79c6bc796aea182ae6acf13d18284. This continues to fail in travis itself, so remove for now. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis-ci: Add qemu-x86_64 targetTom Rini2018-01-221-0/+7
| | | | | | Add qemu-x86_64 to the list of targets we use for test.py runs. Signed-off-by: Tom Rini <trini@konsulko.com>
* Travis-CI: Add job for running test.py on qemu_arm64Tuomas Tynkkynen2018-01-191-0/+5
| | | | | | | | | The corresponding changes in the uboot-test-hooks repo are: https://github.com/swarren/uboot-test-hooks/pull/15 Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Reviewed-by: Tom Rini <trini@konsulko.com>
* Travis-CI: Download ARM64 version of GRUB as wellTuomas Tynkkynen2018-01-191-0/+3
| | | | | | | For preparation of adding AArch64 test.py jobs. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Reviewed-by: Tom Rini <trini@konsulko.com>
* travis.yml: Run tests for toolsSimon Glass2018-01-151-0/+15
| | | | | | Run tests for the Python tools used by U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org>
* travis.yml: Support RISC-VRick Chen2018-01-121-0/+8
| | | | | | | | | Enable travis-ci support with a link having built. Signed-off-by: Chih-Mao Chen <cmchen@andestech.com> Signed-off-by: Rick Chen <rick@andestech.com> Signed-off-by: Rick Chen <rickchen36@gmail.com> Signed-off-by: Greentime Hu <green.hu@gmail.com>
* Travis-CI: Split 't208xrdb t4qds t102*'-job into separate jobsPhilipp Tomsich2018-01-101-1/+5
| | | | | | | The 't208xrdb t4qds t102*' job is close to the time limit and sometimes fails, so this splits it into 3 separate jobs. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
* Travis-CI: Fix microblaze and xilinx jobsTom Rini2017-10-071-2/+4
| | | | | | | Given how we handle the ARM toolchain we can't easily combine these two jobs, so don't. Give xilinx/ARM a separate build. Signed-off-by: Tom Rini <trini@konsulko.com>
* Travis-CI: Split out more vendors from the catch-all ARM jobTom Rini2017-10-061-2/+7
| | | | | | | - Move SoCFPGA and K2 boards to their own job - Expand the microblaze job to cover ARM boards from Xilinx as well. Signed-off-by: Tom Rini <trini@konsulko.com>
* Travis-CI: Move Boundary and Engicam devices to their own jobsTom Rini2017-10-061-1/+7
| | | | | | | The i.MX6 job can still be close to the time limit, move a few more devices out. Signed-off-by: Tom Rini <trini@konsulko.com>
* Travis-CI: Move Toradex into its own jobTom Rini2017-10-061-6/+11
| | | | | | | A few of the big jobs are getting close to the time limit again, split a few more things out. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis.yml: Add job for running test.py in qemu_armTuomas Tynkkynen2017-10-061-0/+5
| | | | | | | Note that this commit requires https://github.com/swarren/uboot-test-hooks/pull/14 to go in first. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
* dtc: Switch to building and using our own dtc unless providedTom Rini2017-09-241-4/+2
| | | | | | | | | | This makes us act like the Linux Kernel does and allow for dtc to be provided externally but otherwise we use the version of dtc that is included in the sources. This in turn means that we can drop the checkdtc logic. We select DTC in the cases where we will need the dtc tool provided. Signed-off-by: Tom Rini <trini@konsulko.com>
* Travis-CI: Checkout only v1.4.3 of dtcTom Rini2017-09-221-1/+1
| | | | | | Our minimum DTC version is 1.4.3, so check that out. Signed-off-by: Tom Rini <trini@konsulko.com>
* Travis-CI: Switch back to using the top of tree dtcTom Rini2017-09-151-3/+2
| | | | | | | | | | | | | In a0f3e3df4adc we switched to using the Ubuntu-provided dtc as travis was having a problem with the number of warnings that were generated by the newer dtc. This is no longer a concern as we now have the same logic as Linux to enable/disable additional more stringent warnings. Go back to building dtc from source. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested on travis-ci: Tested-by: Simon Glass <sjg@chromium.org>
* Travis-CI: Update PATHTom Rini2017-09-121-1/+1
| | | | | | | We now can no longer re-use the provided path and need to give the full PATH we want used now. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis-ci: Emulate 'make tests'Tom Rini2017-08-111-0/+9
| | | | | | | | | The 'tests' target will run sandbox, sandbox_spl and sandbox_flattree in test.py and in the case of sandbox_spl ensure that we just run the specific tests for that build. Update our matrix to perform similar test.py runs. Signed-off-by: Tom Rini <trini@konsulko.com>
* powerpc, 8xx: Add support for MCR3000 board from CSSIChristophe Leroy2017-07-081-0/+2
| | | | | | | | | CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 and CMPC885 which are respectively based on MPC866 and MPC885 processors. This patch adds support for the first board. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
* avr32: Retire AVR32 for goodAndy Shevchenko2017-07-061-5/+1
| | | | | | | | | | | | | | AVR32 is gone. It's already more than two years for no support in Buildroot, even longer there is no support in GCC (last version is heavily patched 4.2.4). Linux kernel v4.12 got rid of it (and v4.11 didn't build successfully). There is no good point to keep this support in U-Boot either. Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
* .travis.yml: All DENX boards are now under AriesTom Rini2017-06-291-2/+2
| | | | | | DENX hardware is now under Aries Embedded, update the job. Signed-off-by: Tom Rini <trini@konsulko.com>
* powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512xHeiko Schocher2017-06-161-6/+0
| | | | | | | | | There was for long time no activity in the mpx5xxx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in mpc5xxx, so remove it. Signed-off-by: Heiko Schocher <hs@denx.de>
* powerpc, 8260: remove support for mpc8260Heiko Schocher2017-06-121-2/+0
| | | | | | | | | There was for long time no activity in the 8260 area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8260, so remove it. Signed-off-by: Heiko Schocher <hs@denx.de>
* powerpc, 8xx: remove support for 8xxHeiko Schocher2017-06-121-2/+0
| | | | | | | | | | There was for long time no activity in the 8xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8xx, so remove it (with a heavy heart, knowing that I remove here the root of U-Boot). Signed-off-by: Heiko Schocher <hs@denx.de>
* travisci: Add support for ARCAlexey Brodkin2017-04-271-0/+8
| | | | | | | | | | | Finally adding support for ARC boards in TravisCI. To build for ARC boards we need to install Synopsys prebuilt toolchain which we do here. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>