Commit Graph

213 Commits (229b9ad43b3328df59fca50d84d14d13ee6d2aa5)

Author SHA1 Message Date
Evelyne Donnaes 9964212f9e Moved USB drivers under drivers/usb 2020-11-12 14:57:00 +00:00
Ladislas de Toldi 76cf2f7232 Activate ccache for CMake 2020-11-06 17:25:23 +00:00
Qinghao Shi 0bb812a706 TEST: remove cmake build test from TravisCI 2020-11-06 17:25:23 +00:00
Martin Kojtal 662e32ffb7 CMake: Fix travis fetch PR (#13763)
Either fetch TRAVIS_COMMIT or the entire pull request (depending on the TRAVIS_PULL_REQUEST environment variable).
2020-11-06 17:25:21 +00:00
Hugues Kamba 8328963a67 CMake: Replace tested BLE application in CI description
BLE_Button, which was the previously tested BLE example, is
being removed in mbed-os-example-ble. Replace it with BLE_LED.
2020-11-06 17:25:21 +00:00
Martin Kojtal 458ce2adfb Travis: add more examples we should support
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2020-11-06 17:25:20 +00:00
Robert Walton 6687a6bc13 CMake: Check CMake builds CMake-capable targets in Travis 2020-11-06 17:25:19 +00:00
Martin Kojtal 894f8cc42f Travis: use build type for cmake 2020-11-06 17:25:18 +00:00
Martin Kojtal 3952212dac Travis cmake: add testing all profiles 2020-11-06 17:25:17 +00:00
Hugues Kamba 5709dd2752 CMake: Add Travis script to run a basic CI check for PRs 2020-11-06 17:25:15 +00:00
Martin Kojtal 5eeced1c54 travis: ignore spdx reports
Do not force red status for PRs due to SPDX missing (license must be there). We will
add better SPDX checks later (more work required to enable these for 3rd party code).
2020-10-19 16:20:26 +02:00
Hugues Kamba 4ce6c8ac62 Scancode: Fix false positive reported by scancode output analyser script
ScanCode can possibly return many licenses found for a single file scanned.
This commit ensures that the file is not reported as lacking a permissive license
if at least one license found in it is permissive.
Previously the script was reporting an issue if it found at least one license
in a file that was not permissive.

Additionally catch more errors and provide specific details about failures.
Provide unitest.
2020-10-15 17:33:56 +01:00
Martin Kojtal b3f4d3b5f4
Merge pull request #13619 from 0xc0170/fix_travis_status_token
Travis: remove status functionality
2020-10-15 15:17:03 +01:00
Saheer Babu eeb61ec4e7
adapting to new s3 bucket location in travis.yml 2020-10-01 18:16:56 +01:00
Martin Kojtal 96740b6bb3 travis: count always with true, status return later 2020-09-30 10:32:57 +01:00
Martin Kojtal 85233e066a travis: fix license ok, return true 2020-09-23 16:04:49 +01:00
Martin Kojtal 14714a8055 Travis: remove status functionality
Unfortunately, we need to remove status functionality as it exposes an information
it should rather not. There is no other way we can do it in the pull request coming
from forks (most of our PRs are from forks). It is better if we use pass/failure what
Travis provides. The information are in the logs. It should always print the status info at
the very end. A test should have "echo Failed with a reason...."
2020-09-17 16:40:41 +01:00
Anna Bridge fdab61d040
Merge pull request #13586 from 0xc0170/fix_travis_new_files
travis: license check for new files
2020-09-17 11:14:39 +01:00
Martin Kojtal 36bb124532 travis: license check for new files
Fail if new file does not contain SPDX identifier. We only checked for changed files,
and warn if any found. This is not sufficient because new files should follow our license guide.

This fixes the problem.
2020-09-15 12:34:00 +01:00
Rajkumar Kanagaraj 2bc7bb7a52 - Remove components reference from travis
- update readme
2020-09-11 14:33:18 +01:00
Hugues Kamba 834e530abd CMSIS: Restructure ported CMSIS_5
See docs/adr/0001_cmsis_component_source_structure_recommendations.md
For details information.
2020-09-01 15:55:13 +01:00
Martin Kojtal 08ef04d027
Merge pull request #13468 from urutva/add-ccache-to-travis
Add ccache to travis
2020-08-24 08:47:27 +01:00
Devaraj Ranganna fef4454359 ci: Enable `ccache` in Travis
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2020-08-21 14:17:13 +01:00
Lingkai Dong 15914d9354 .travis.yml: apply ignore list to spell checker 2020-08-20 17:23:19 +01:00
Lingkai Dong e00d6feb37 Rename .astyleignore -> .codecheckignore for spell check 2020-08-20 17:16:02 +01:00
Martin Kojtal ead1cec065
Merge pull request #13349 from Patater/reject-tool-changes
travis: Reject changes to tools
2020-08-11 09:39:28 +01:00
Ashok Rao a36718d5fb Fixing Travis failure 2020-08-05 16:57:50 +01:00
Anna Bridge 1d362c8a7a
Merge pull request #13371 from gpsimenos/gp-lwip-restruct
Restructure lwipstack directory
2020-08-05 11:56:12 +01:00
Jaeden Amero a18a7391a5 travis: Reject changes to tools
As part of freezing the current tools, reject any changes to tools that
would require a re-release of the tools for the online compiler. This is
to free up our effort on existing tool releases which are very error
prone, time consuming, and labor intensive, so we can focus on
developing a far more maintainable set of tools.

As the online compiler contains a copy of the whole mbed-os folder, it
is not clear which parts of mbed-os are actually used. This change
estimates the dependency between the online compiler, online IDE, and
Mbed OS by searching for "from tools" in Python code in the os.mbed.com
repo
(https://github.com/ARMmbed/os.mbed.com/search?q=%22from+tools%22&unscoped_q=%22from+tools%22)

For further context and explanation on why we've frozen the legacy
tools, please see the blog post at
https://os.mbed.com/blog/entry/Introducing-the-new-Mbed-Tools/
2020-08-04 17:32:13 +01:00
George Psimenos bcb5c10d62 Update lwipstack paths 2020-07-31 10:19:52 +01:00
George Psimenos 973c1dc2ff Move drivers unit tests 2020-07-31 10:04:36 +01:00
George Psimenos fe7ae8a50f Remove deprecated local unit tests 2020-07-28 09:17:19 +01:00
George Psimenos d480fab08b CI & local unit test fixes 2020-07-28 09:17:19 +01:00
George Psimenos 76f37fb2bc Restructure events directory & move tests 2020-07-28 09:17:19 +01:00
Jaeden Amero 5ea51596ac travis: Fix spelling errors 2020-07-24 15:29:40 +01:00
Jaeden Amero fc146cd641 travis: Remove trailing whitespace 2020-07-24 15:29:40 +01:00
Rajkumar Kanagaraj ea6a7ddbaa Refactor features/netsocket and move to connectivity/netsocket 2020-07-23 06:15:09 -07:00
Lingkai Dong 88192530d7 .travis.yml: delete cellular drivers during no-RTOS test 2020-07-22 11:12:02 +01:00
Lingkai Dong 2b24a7a31e Update paths to cellular framework 2020-07-22 11:06:23 +01:00
Martin Kojtal 7592d702b2
Merge pull request #13284 from LDong-Arm/move_ppp
Refactor PPP library
2020-07-21 14:12:05 +01:00
Martin Kojtal 0d8342e7b9 Travis: fix scandcode failure
This is workaround for https://github.com/ARMmbed/mbed-os/issues/13322. We can remove
this line once they fix the dependency.
2020-07-21 10:57:14 +01:00
Lingkai Dong ac7389de58 .travis.yml: exclude ppp from no-RTOS test 2020-07-17 15:30:53 +01:00
Anna Bridge 640da338f9
Merge pull request #13229 from jeromecoutant/PR_TARGET2
STM32 custom target: create MCU_STM32xx for each family
2020-07-17 10:55:43 +01:00
Rajkumar Kanagaraj 3f080dfd65 update the path in license, readme markdown, astyleignore 2020-07-13 05:24:45 -07:00
jeromecoutant 686d4c797e TRAVIS update for non rtos compilation
travis needs to compile a target which doesn't support FLASHIAP
2020-07-09 13:48:44 +02:00
jeromecoutant dd46dfccb2 STM32F4 code cleaning 2020-05-14 13:55:22 +02:00
Veijo Pesonen 8760a56907 astyle: stops whitelisting .sh-files 2020-05-05 14:24:44 +03:00
Devaraj Ranganna fd74d678a7 psa: Remove PSA secure binary building tools
The PSA-implementing secure binary is not built using Mbed OS build
tools anymore. Instead, the TrustedFirmware-M (TF-M) build system is
used to produce the secure binary. As such, we remove PSA related hooks
from the build system, remove PSA related scripts from tools/test
folder, and also remove the psa-autogen job from travis which was
running the now unecessary and removed generate_partition_code.py.

Remove the ability to generate new PSA binaries in the old manner, where
Mbed OS implements PSA. We don't yet remove any PSA binaries or break
the currently checked-in Mbed-implemented PSA support. PSA targets
integrated in the old manner will continue working at this point.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-27 09:51:14 +01:00
Evelyne Donnaes d1882e42e3 Fixed travis-ci/events 2020-03-16 16:55:21 +00:00
Martin Kojtal 92711bdcde travis: fix scancode status if all OK 2020-03-03 14:27:52 +00:00