Commit Graph

65 Commits (436e4706ed4c4f2fafd33a4795d549b7516d2fc6)

Author SHA1 Message Date
Martin Kojtal 4cf53fe1c1
Merge pull request #6125 from cmonr/travis-param-lacks-quotes
Add quotes around MBED_BOT parameter
2018-02-21 15:18:27 +01:00
Cruz Monrreal 6d374c61ac
Merge pull request #6126 from cmonr/travis-timeout-fix
Modified 'apt-get update' to loop until successful
2018-02-20 11:34:49 -06:00
Cruz Monrreal II‰ 4c51f3a0d3 Added missing bracket. 2018-02-16 19:47:01 -06:00
Cruz Monrreal ff41a10658
Merge pull request #6110 from geky/equeue-fix-no-rtos
equeue: Removed RTOS dependencies with RTOS not present
2018-02-16 16:16:15 -06:00
Cruz Monrreal II 04f1d9680b Added quotes around MBED_BOT parameter 2018-02-16 15:47:33 -06:00
Cruz Monrreal II fa6c689b7f Modified 'apt-get update' to loop until successful 2018-02-16 15:44:36 -06:00
Christopher Haster 9755cca919 equeue: Added test for non-RTOS compilation regressions 2018-02-15 12:19:25 -06:00
Jimmy Brisson db4c380b2b Python2+3: build_travis.py and Travis tests 2018-02-05 11:07:37 -06:00
Christopher Haster 13ddd161cf littlefs: Set specific hash for littlefs-fuse testing 2018-01-24 18:27:47 -06:00
Cruz Monrreal b8abbab38b
Merge pull request #5761 from geky/littlefs-fix-lookahead-rewind
littlefs: Fix issue with immediate exhaustion and small unaligned storage
2018-01-18 13:01:25 -06:00
Christopher Haster 5e7c0976fa littlefs: Fixed issue with immediate exhaustion and small unaligned storage
This was a small hole in the logic that handles initializing the
lookahead buffer. To imitate exhaustion (so the block allocator
will trigger a scan), the lookahead buffer is rewound a full
lookahead and set up to look like it is exhausted. However,
unlike normal allocation, this rewind was not kept aligned to
a multiple of the scan size, which is limited by both the
lookahead buffer and the total storage size.

This bug went unnoticed for so long because it only causes
problems when the block device is both:
1. Not aligned to the lookahead buffer (not a power of 2)
2. Smaller than the lookahead buffer

While this seems like a strange corner case for a block device,
this turned out to be very common for internal flash, especially
when a handleful of blocks are reserved for code.
2018-01-04 09:49:13 -06:00
Martin Kojtal 038324a7e5 Travis: add RZ_A1H target
Travis: dsp only for cortex-m
2018-01-02 11:48:47 +00:00
Martin Kojtal 8cdb2a334d Travis: fix gcc arm version to 6
Use download from official website, to have
fixed version, rather than latest.

The official support for current mbed OS is
GCC ARM 6.
2017-12-20 11:01:44 +00:00
Christopher Haster 8b54e8c47d Travis: Minor cleanup
language -> python
pip --user installs -> virtual env installs
2017-12-20 09:32:29 +00:00
Christopher Haster a67cbf2680 Travis: Added yaml references for mbed 2 jobs 2017-12-19 10:48:25 -06:00
Martin Kojtal 5ccfaf153b Travis: allow build/make to print output
As we have now matrix for targets, there might be some targets that take longer to compile.
It can timeout, if we produce an output after every target that it was build, it
should extend the timeout per target build.
2017-12-19 13:57:35 +00:00
Martin Kojtal e402fdbf16 Travis: set language to generic
Do not fall to default Ruby
2017-12-19 12:13:39 +00:00
Martin Kojtal 1b3cff54fb Travis: define vendor matrix
Use vendor matrix, creates a job for each vendor folder (targets/TARGET_XXX).
This fixes the errors we have seen, as a job has a limit 50 minutes.
2017-12-19 12:13:30 +00:00
Christopher Haster b7c15989ce Split out "docs" into its own Travis job
And some cleanup
2017-12-08 15:14:27 -06:00
Christopher Haster 7414d799b0 Add caching of apt-get + pip to .travis.yml 2017-12-08 14:29:48 -06:00
Christopher Haster ff25681a21 Separated out logical Travis jobs
Combination of mbed 2 builds (~40 minutes), littlefs testing (~15
minutes), and miscellaneous testing pushed the current CI over
Travis's limit of 1 hour per job.

However, by using Travis's matrix includes, we can spin up different
jobs for the various logical components being tested.
2017-11-27 20:39:03 -06:00
Christopher Haster ea0fee0968 littlefs: Integrated littlefs's .travis.yml into mbed OS
Also cleaned up the central .travis.yml to better support
similar local testing in Travis CI
2017-11-22 16:40:59 -06:00
Christopher Haster 94c972edba Fix travis requirements install
pip requires --user flag when installing executables outside of sudo context
2017-09-15 17:22:21 -05:00
Martin Kojtal 42a6dd00d8 Travis: fix the latest breakage - use group:
See https://blog.travis-ci.com/2017-08-29-trusty-image-updates
2017-09-08 13:50:56 +01:00
Jimmy Brisson 6bf7718c8d Correct travis coverage reporting 2017-09-05 16:16:30 -05:00
Jimmy Brisson b0501bd846 Post coverage details on coveralls and link to them in readme 2017-09-05 14:32:50 -05:00
Jimmy Brisson 817eb5ab05 Unify configuration testing and the travis command 2017-08-28 15:10:50 -05:00
Jimmy Brisson de9f9dd3a2 Convert memap tests to pytest style 2017-08-28 13:52:28 -05:00
Jimmy Brisson 177fb7933d Rework config_test to use py.test 2017-08-28 12:27:09 -05:00
Jimmy Brisson 99838219bf Start collecting coverage data in travis 2017-08-28 11:00:26 -05:00
amq f3ec031ef6 Change gcc-arm-none-eabi package name in Travis 2017-08-16 22:08:15 +03:00
amq a6cf701cca Update gcc-arm-embedded PPA in Travis
* ppa:terry.guo/gcc-arm-embedded has been deprecated in favor of ppa:team-gcc-arm-embedded/ppa
* this also means switching from 4.9.3.2015q3 to 6-2017q2
2017-08-16 21:52:45 +03:00
Martin Kojtal a5f2275c18 Travis: fix install phase - not use sudo 2017-07-29 20:25:04 +02:00
Jimmy Brisson 307a2ff564 Assert that assembler files are named correctly in travis 2017-06-20 14:47:41 -05:00
Jimmy Brisson 946d160c0f Check for IAR libraries as well 2017-06-12 11:10:23 -05:00
Jimmy Brisson 0481a5b244 Improve error output of bad lib CI test 2017-06-09 10:30:35 -05:00
Jimmy Brisson 3161cf31d1 Simplify doxygen and libfile checks 2017-06-09 10:27:35 -05:00
Jimmy Brisson 1d42134eba Document odd bits of the travis config 2017-06-09 10:01:57 -05:00
Jimmy Brisson 8cd7d42fd0 Add check for correct library naming to CI 2017-06-09 09:49:13 -05:00
Jimmy Brisson 2818026016 Check for no warnings in travis 2017-06-05 17:32:46 -05:00
Russ Butler 32b9ada3ec Enforce device_name is valid in targets.json
Add a CI test ensure that device_name exists inside the pack index.
2017-02-08 14:54:26 -06:00
Christopher Haster 87a1cfee42 Added equeue tests to travis CI 2016-11-21 12:48:16 -06:00
Brian Daniels b14a9702a1 Adding check to Travis for exporter support matrix 2016-11-02 09:35:19 -05:00
Jimmy Brisson 860ba3addb Added build_api tests to travis 2016-09-30 15:10:21 -05:00
Sam Grove 1047ab4562 Merge pull request #2834 from bridadan/memap-consolidate
[tools] Making memap output consistent across output formats
2016-09-30 14:59:31 -05:00
Jimmy Brisson fd04ea2125 Added property based regression test to travis 2016-09-29 10:20:05 -05:00
Brian Daniels abb6d2681e Adding memap tests and adding to travis ci 2016-09-28 17:27:25 -05:00
Jimmy Brisson 3f9bedbdd9 Add pylint testing to Travis 2016-08-16 13:29:43 -05:00
Jimmy Brisson 69eb3cabc8 Add the toolchain api test to the travis CI
I would like to test that the Toolchains API remains stable. Therfore,
I have added a test to the travis CI that checks that each exposed
toolchain class implements the API that the mbedToolchain base class
uses to compile.
2016-07-15 10:12:31 -05:00
Brian Daniels f340a6de0d Adding config tests to travis script 2016-06-21 19:09:15 -05:00