Commit Graph

96 Commits (61f12b48ad8be46a67be932fc7e88292ddf810a7)

Author SHA1 Message Date
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