Commit Graph

203 Commits (eb32b25c8abb37f0aab505451074448e7e420517)

Author SHA1 Message Date
Cruz Monrreal II 17dcbd1dc0 Made typo to unblock final check 2019-04-11 11:10:30 -05:00
Cruz Monrreal II 260c97a116 Cleaned up LittleFS and Event Queue tests.
Added {} around each variable.
Ported python invocations for simple math opts to coreutil commands
2019-04-08 10:45:07 -05:00
Cruz Monrreal II 397ee3074a Removed nearly all usage of 'apt-get'.
Primary cause of false Travis CI failures was running 'apt-get update'.
Refactored all instances where this was needed with manually fetching and installing dependencies in S3 instace.

This also includes GCC installation.
2019-04-08 10:45:07 -05:00
Cruz Monrreal II 5f40538c59 Re-enabled PR status reporting.
Added external bash file to source functions from
2019-04-08 10:45:07 -05:00
Cruz Monrreal II f9f9b60d7e Grouped jobs into build stages 2019-04-08 10:45:07 -05:00
Cruz Monrreal II c703ad7cfb Removed status reporting.
Re-enabled in later commit.
2019-04-08 10:39:38 -05:00
Cruz Monrreal II d0f4dc4d20 Changed default language to shell.
Not every VM needs the setup overhead that 'language: python' was providing
2019-04-08 10:39:38 -05:00
Cruz Monrreal II‰ 6c9c7f1483 Updated AWS url for astyle.
The original one is no longer appropriate
2019-03-29 12:18:39 -05:00
Cruz Monrreal II 034096dcd0 Updated astyle to work with updated .astyleignore file
fgrep === grep -F
-F treats lines as fixed strings (aka, the '^' isn't expanded)
2019-03-25 19:43:34 -05:00
Oren Cohen f234a1dc5b
Unify PSA code generators 2019-03-03 21:15:49 +02:00
Russ Butler b7eb7820e3 Remove the USB directory from mbed 2 travis
Don't include the USB directory when testing mbed 2 on travis.
2019-02-22 10:52:34 -06:00
Michael Schwarcz 4a45c16a21 Update .travis.yml psa_autogen job with TF-M code generation tool 2019-02-19 15:19:07 +02:00
Michael Schwarcz 516af50cb7 Consolidating tools/tfm and tools/spm into tools/psa 2019-02-19 15:19:06 +02:00
Cruz Monrreal II 861816c20b Enable xenail dist for only Py37 job
Other jobs will follow with other PR
2019-01-28 13:54:28 -06:00
Cruz Monrreal II d582451469 Enabled Py3.{5,6,7} in Travis CI 2019-01-28 13:02:37 -06:00
Cruz Monrreal II e28bf5ae11 Replaced '|' with '>' (affects how newlines are parsed) 2019-01-24 16:56:05 -06:00
Cruz Monrreal II 50a99a0572 Updated license_check to work a bit better across line boundries.
Swapped out 'git grep' for 'grep' since it can take in a --max-count flag.
The license _header_ will always be at the top.

Also enabled output so that PR authors can know what the problem files are.
2019-01-24 16:14:50 -06:00
Cruz Monrreal II‰ 31ab61ed80 Fix for license check job.
Somehow, having the '!' before a single command in a single line parses out the '!'.
2019-01-24 16:14:50 -06:00
Martin Kojtal cf75dc4b43
Merge pull request #9286 from alekla01/alekla01-include_check-patch-1
travis: Add include_check job
2019-01-22 09:33:20 +01:00
Aleksi Klasila fc41ea90d2 Add Travis include mbed.h check 2019-01-21 16:47:44 +02:00
Cruz Monrreal II e5fecaf899 Shuffled around version checks to be more useful in case of failure 2019-01-17 12:39:52 -06:00
Cruz Monrreal II 2d23e4c6f0 Added specific versions of Travis-only modules
Use requirements.txt to install specific versions of Travis CI python modules.
2019-01-17 12:39:52 -06:00
Martin Kojtal 32c9c3ac46
Merge pull request #8970 from kegilbert/spell-checker-travisjob
Add doxygen spellcheck job to Travis
2019-01-16 09:30:46 +01:00
Cruz Monrreal 41ecde9c30
Merge pull request #9371 from 0xc0170/test_travis_master
travis: set hypothesis to v3.88
2019-01-14 10:50:42 -06:00
Martin Kojtal be9f9f7610 travis: set hypothesis to 3.88 version
Update to v4.x breaks tools, will need to be addressed separately.
2019-01-14 16:00:36 +00:00
kegilbert 70b9b753db Add doxygen spellcheck jobs to Travis
Currently tests
    - drivers
    - platform
    - rtos
    - events
    - features/netsocket
2019-01-11 10:22:15 -06:00
Cruz Monrreal II 84469e1b6f Corrected simplified astyle job behavior when base branch is not master
Consolidated efforts from PR #9336.

Previous job's env vars would not be populated correctly if the base branch of a PR was not master.
Corected by pulling remaining respository information to perform comparison between read-only instance of PR and base branch.
2019-01-10 22:28:51 -06:00
Martin Kojtal 3305565164 travis: add keys for ubuntu - workaround 2019-01-08 13:29:13 +00:00
Oren Cohen 05f4a1867f Fix travis astyle usage of .astyleignore 2019-01-06 14:23:22 +02:00
Cruz Monrreal II 2ef6fe314f Add back statements adding ppa repos... 2019-01-04 10:21:17 -06:00
Cruz Monrreal II fd5607f914 Skip files that were deleted 2019-01-03 18:49:26 -06:00
Cruz Monrreal II af4af430a2 Simplified astyle travis test to be easier to reason about 2019-01-03 18:49:26 -06:00
Olli-Pekka Puolitaival bfeab27e4a More static place for astyle 2018-12-28 14:38:34 +02:00
Martin Kojtal e3b03e0404
Merge pull request #9055 from 0xc0170/dev_travis_astyle_https
travis: use https for fetching astyle package
2018-12-12 14:46:51 +01:00
Martin Kojtal 7c5cffb78a
Merge pull request #9047 from 0xc0170/dev_travis_license
travis: add license
2018-12-12 14:46:32 +01:00
Martin Kojtal dba7f6eacc travis: use https for fetching astyle package 2018-12-11 13:43:56 +00:00
Martin Kojtal 49a8cb809d travis: add license 2018-12-11 09:16:12 +00:00
Cruz Monrreal II 36790d6856 Removed rabbitmq fix from travis.yml
Upstream fix has been applied by Travis CI
2018-12-10 21:48:19 -06:00
Martin Kojtal 9b4be1b540 travis: rabbitmq signature update
Fix comes from rabbitmq:

> On December 1st, 2018 (GMT) all repositories under the RabbitMQ account on PackageCloud
will be switched to use the new signing keys. RabbitMQ users who install packages
from PackageCloud must import the new signing keys before the migration.
The recommended way of doing that is by re-running PackageCloud setup
scripts (RabbitMQ, Erlang). Signing keys can be downloaded and imported directly
as well (RabbitMQ, Erlang). If the new keys are not imported, package installation
will start failing with a signature verification error.
2018-12-03 10:31:57 +00:00
Martin Kojtal 13822a4ef4 travis: mangodb key update not needed anymore 2018-12-03 10:31:30 +00:00
Oren Cohen 45bd4f305a Add SPM code generation test to Travis-CI 2018-11-28 14:38:44 +02:00
Martin Kojtal a5e8df25a1 travis: astyle anchor fix
Missing $ for after_success, same fix as previously done for PR code changes
2018-11-20 14:50:10 +00:00
Martin Kojtal 5299017553
travis: anchor grep for astyle
Should not pick up .cmake files (just .c files)
2018-11-16 13:38:36 +00:00
Teppo Järvelin f5ad355854 travis: exclude deleted files for astyle. 2018-11-16 13:58:04 +02:00
Martin Kojtal cbdd6324ed travis: echo failure if astyle fails 2018-11-15 07:20:13 +00:00
Martin Kojtal 70b5772dc4 travis: add after_failure for astyle
To get to failure, we need to exit with 1
2018-11-15 07:20:13 +00:00
Martin Kojtal edef49b5fd travis: astyle error leads to the pull request error
As our codebase is 0 styling errors, we should start treating astyle errors as
pull request blockers. Time to follow our coding style.
2018-11-15 07:20:11 +00:00
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