Commit Graph

156 Commits (3ab36cb93412c39b9bf7cd69c7fe8845f9294405)

Author SHA1 Message Date
Cruz Monrreal II 5ad4b3481b Disable current failing doxygen command until fixes are made 2018-10-30 11:45:41 -05:00
Cruz Monrreal II 948531fc2f Added compilation of latest doxygen release.
Tweaked doxygen failure command
2018-10-30 11:41:07 -05:00
Cruz Monrreal II 65c4bc92fb Added line in python testing to print pip modules in use 2018-10-16 17:33:56 -05:00
Cruz Monrreal dc4a52c727
Merge pull request #7898 from 0xc0170/fix_astyle_common
Travis: fix astyle report (-/+ files)
2018-10-10 08:40:28 -05:00
Martin Kojtal f1f16e5e26 travis: add MBED BOT to the astyle job 2018-10-09 14:20:32 -05:00
Martin Kojtal c10a9b5f77
Merge pull request #7911 from 0xc0170/fix_license_check
travis: add license check for gnu library license
2018-09-26 15:07:48 +02:00
Seppo Takalo fa8add4227 Remove components from RTOS-less build. 2018-09-01 12:37:45 -05:00
Yossi Levy ed8e170d15 Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure. 2018-08-29 12:01:11 +03:00
Martin Kojtal 57870204eb travis: add license check for gnu library license 2018-08-28 14:43:10 +01:00
Christopher Haster 783bc8435f Adopted travis changes from littlefs v1.6 2018-08-06 14:30:29 -05:00
Cruz Monrreal II 64e77d369c Moved the sourcing of the astyle archive to AWS from SourceForge.
SF has been failing intermitantly, and appears to not explicitly allow the automatic downloading of archives.
2018-06-26 10:54:57 -05:00
Seppo Takalo 98a787b003 Fix Astyleignore and Mbed 2 travis build rules 2018-06-21 12:56:22 +03:00
Martin Kojtal 4d49d4fc91 Travis: fix mongodb key expired error 2018-06-20 12:17:09 +01:00
Olli-Pekka Puolitaival a4f8c0789b Check that no GPL licence inside code 2018-05-30 17:13:35 +03:00
Cruz Monrreal II 8b661828fc Updated Travis CI to be able to run tool tests against Python 3.
Will be enabled when tool support has been completely ported
2018-05-22 19:20:33 -05:00
Cruz Monrreal 16d30776aa
Merge pull request #6905 from kivaisan/remove_common_pal_flags
Lora: Remove obsolete FEATURE_COMMON_PAL flags
2018-05-21 10:11:20 -05:00
Christopher Haster fa54351a64
Travis: Quick name-fix for warnings reported by Astyle
Currently Astyle is reporting files with warnings, not the actual count
of warnings. This is a bug, but fixing right now will cause incorrect results.
At least for the short-term we can change the name to avoid as much confusion
as possible.
2018-05-15 11:55:57 -05:00
Kimmo Vaisanen 3094327e12 Lora: Remove obsolete FEATURE_COMMON_PAL flags
mbed-trace no longer requires COMMON_PAL to be enabled.
2018-05-15 16:08:30 +03:00
Cruz Monrreal 5038135c7d
Merge pull request #6577 from SeppoTakalo/remove_features
Get rid of FEATURE_COMMON_PAL and FEATURE_NANOSTACK
2018-05-07 10:44:50 -05:00
Christopher Haster d5af6ec461 Added nanostack to removed directories during rtos-less build 2018-04-27 14:38:44 +03:00
Martin Kojtal c12ee10c5d travis: add astyle run for all changes in the PR
To compare to master, use entire branch, not only files changed.
2018-04-19 12:55:54 +01:00
Martin Kojtal 6d427eaea1 travis: fix commit content 2018-04-19 12:55:53 +01:00
Martin Kojtal 2cd0b8143e travis: astyle only on changed files in PR 2018-04-19 12:55:08 +01:00
Christopher Haster 396fa5f75a Astyle: Changed from test failure to status note 2018-04-19 12:55:08 +01:00
Martin Kojtal f6541f9fc8 Travis: add astyle
Fetch 3.1 astyle from website (install from ubuntu contains old 2.05).
Print version to verify and run on our codebase
2018-04-19 12:55:07 +01:00
Christopher Haster 876603004e
Fixed Travis rate-limit issue with Github requests
Using credentials avoids rate-limiting based on Travis's IP address
2018-04-07 13:04:47 -05:00
Olli-Pekka Puolitaival c837b3dd42 Test line-ending problems 2018-04-03 14:38:02 +03:00
Martin Kojtal afeb3066c3
Revert "BLE: Gatt client unit tests" 2018-03-26 11:51:29 +01:00
Cruz Monrreal 0a0cc58934
Merge pull request #6434 from cmonr/correct-apt-get-retrying
Modified apt-get retry logic with Travis CI retry feature
2018-03-23 14:23:09 -05:00
Cruz Monrreal 387027dddb
Merge pull request #6086 from pan-/gatt-client-unit-tests
BLE: Gatt client unit tests
2018-03-23 10:56:09 -05:00
Cruz Monrreal II fa8020ee6c Modified apt-get retry logic with Travis CI retry feature 2018-03-22 15:08:21 -05:00
Cruz Monrreal 58f57954ca
Merge pull request #6378 from geky/events-travis-prof
equeue: Added profiling reports to Travis
2018-03-21 16:24:33 -05:00
Christopher Haster d828fc0df4 equeue: Added profiling reports to Travis 2018-03-16 00:03:06 -05:00
Christopher Haster d6051c8669 Removed mbed 2 builds from Travis 2018-03-14 11:22:34 -05:00
Teppo Järvelin 0d35851e5d Added deleting of feature/cellular when testing a build without RTOS in .travis.yml 2018-03-02 14:38:07 +02:00
Cruz Monrreal c4354fa645
Merge pull request #6179 from geky/lfs-update
littlefs: Update to version 1.3
2018-03-01 13:42:47 -06:00
Christopher Haster 1e74c9cedb littlefs: Adopted new test configurations and status
- Now tests LFS_NO_INTRINSICS
- Also updates status with build results
2018-02-27 10:08:59 -06:00
Christopher Haster 43bad7c0dd Travis: Tore out python3 testing to get CI working again
Temporary solution, python3 will be added back later

Travis doesn't recognize version matrices when inside a matrix include job.
Instead, it breaks in a way that isn't reported as an error.
2018-02-26 10:56:39 -06:00
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
Vincent Coubard b689a59045 Travis: add gcc6 as dependency and use it in ble testing 2018-02-19 12:20:45 +00: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
Vincent Coubard cc5b1924be BLE: Fix make invocation for tests builds by travis. 2018-02-13 18:30:21 +00:00
Vincent Coubard 734b5eceec Enable travis for ble host tests. 2018-02-13 17:40:57 +00: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
Mihail Stoyanov 42c62abed1 Further changes to reflect workspace_tools to tools rename 2016-06-09 21:40:54 +01:00
0xc0170 9328e4a660 Travis - remove install sh script
travis.yaml file - add before install, print versions of tools we use
2016-05-26 10:32:48 +01:00
Brian Daniels 2f4d668382 Renamed Jenkins specific options to general "Build" options 2015-04-17 09:39:26 -05:00
Przemek Wirkus 6ecf8da1c6 Added to .travis.yml colorama and prettytable python packages 2015-02-11 00:48:13 +00:00
Przemek Wirkus 94ad3f3355 Added to .travis.yml colorama and prettytable python packages 2015-02-11 00:41:11 +00:00
Przemek Wirkus cc57394f52 Added to .travis.yml colorama and prettytable python packages 2015-02-11 00:36:18 +00:00
Bogdan Marinescu bd89e121e5 Added build script for travis (build_travis.py) 2013-11-08 17:52:10 +02:00
Emilio Monti 0aeabe419f Use only GCC_ARM toolcahin for Travis CI 2013-11-08 11:20:23 +00:00
Matthew Else 908c0da471 (Hopefully) got rid of all of the setup output 2013-10-29 12:29:57 +00:00