Commit Graph

19 Commits

Author SHA1 Message Date
Fabio Utzig b006309b29 Add ECDSA+KW testing to the CI
Signed-off-by: Fabio Utzig <utzig@apache.org>
2019-01-03 11:22:05 -02:00
Fabio Utzig 9b97b13a2b Enable bootstrap test in CI
Adds testing a bootstrap with RSA/ECDSA signing and KW encryption.

Signed-off-by: Fabio Utzig <utzig@apache.org>
2018-12-27 10:58:50 -02:00
Fabio Utzig e35ed567b6 Add RSA sig+enc test to travis
Signed-off-by: Fabio Utzig <utzig@apache.org>
2018-12-17 14:41:02 -02:00
Fabio Utzig 9b7a25833b Fix overwrite-only encrypted images in sim
Also add overwrite-only + encrypted tests to travis-ci.

Signed-off-by: Fabio Utzig <utzig@apache.org>
2018-12-04 14:21:52 -02:00
Fabio Utzig 0e12f6ce98 Travis speed ups
Because the amount of features that the simulator is testing is growing,
the test time is taking a long time. This distributes simulator's tests
over three travis machines to decrease test time.

Add options to defined tests that run one-by-one in a sequential fashion
by defining them in $SINGLE_FEATURES, and allow defining features that
should run together by providing a string of ',' separated list of
multiple tests in $MULTI_FEATURES.

Signed-off-by: Fabio Utzig <utzig@apache.org>
2018-11-27 13:47:14 -03:00
Fabio Utzig 459c3a3106 Enable encrypted image tests to run on travis-ci
Signed-off-by: Fabio Utzig <utzig@apache.org>
2018-10-12 13:36:13 -03:00
Fabio Utzig eb95a580b4 Enable slot0 validation in travis
Signed-off-by: Fabio Utzig <utzig@apache.org>
2017-12-21 13:36:34 -07:00
Fabio Utzig a9a510b5a6 Add ecdsa testing to travis
Signed-off-by: Fabio Utzig <utzig@apache.org>
2017-12-13 14:26:08 -07:00
Fabio Utzig f0e5419535 Use travis env variable to control check-signed-off-by
Instead of trying to determine current branch using git, just rely
on travis to know if this is a PR and if it is not, don't do
signed-off-by checking.

Signed-off-by: Fabio Utzig <utzig@apache.org>
2017-12-06 16:46:58 -07:00
Fabio Utzig 5b989104a5 Add travis' validation of "Signed-off-by:" line
Signed-off-by: Fabio Utzig <utzig@apache.org>
2017-12-05 13:24:03 -02:00
David Brown 577f48a4f9 Change travis to use the new test runner
Instead of running an executable, use cargo to run the test suite.

Signed-off-by: David Brown <david.brown@linaro.org>
2017-11-07 09:39:45 -07:00
Fabio Utzig 100bb74b54 Enable overwrite-only testing on sim
Adds the feature to enable testing of overwrite-only functionality.
While running with this feature enabled, disable tests that try to
revert and disables trailer verification, since overwrite-only doesn't
rely on status writing.

Signed-off-by: Fabio Utzig <utzig@apache.org>
2017-09-13 17:14:22 -06:00
Fabio Utzig ac6a68e0a9 Another try at secure token with travis
This time encrypting with #builds and -r "runtimeco/mcuboot"

Signed-off-by: Fabio Utzig <utzig@apache.org>
2017-09-12 07:52:04 -03:00
Fabio Utzig b4850e64ca Add #builds to travis encrypt
Signed-off-by: Fabio Utzig <utzig@apache.org>
2017-09-12 07:08:15 -03:00
Fabio Utzig be2f1084b5 Fix slack integration token, remove coverity from master
Signed-off-by: Fabio Utzig <utzig@apache.org>
2017-09-12 06:42:45 -03:00
Fabio Utzig 61b90d7548 Add travis integration for coverity
Signed-off-by: Fabio Utzig <utzig@apache.org>
2017-09-08 08:21:30 -03:00
Fabio Utzig 2e86e138a4 Add travis results to #builds channel in Slack
Signed-off-by: Fabio Utzig <utzig@apache.org>
2017-07-26 18:49:19 -06:00
David Brown 704ac6f570 sim: Conditionalize rsa signature checking
Allow a build with sig-rsa set or not set.  Only add the signature to
the TLV if we are building with the signature checking.
2017-07-12 15:00:57 -06:00
David Brown 0fc2d47b1b Create a .travis.yml
Build and run the simulator for testing with travis.
2017-03-29 16:27:25 -06:00