Commit Graph

5 Commits

Author SHA1 Message Date
Karol Trzcinski fccf521331 travis: Scan patch codestyle
Checkpatch is a tool which checks patch code style
alignment with Linux kernel code.
By the way print short graphs of used commits, to
show whats under test.
Checkpatch call is precede by `set -x`, to show used
arguments values, especially checked commits range.

Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
2020-09-24 09:23:12 +01:00
Karol Trzcinski e29baaa8b9 travis: Use $(...) instead `...` in bash scripts
It's encouraged to use version with $(...).
    Backtick command substitution `...` is legacy
    syntax with several issues.

   1. It has a series of undefined behaviors related to quoting in POSIX.
   2. It imposes a custom escaping mode with surprising results.
   3. It's exceptionally hard to nest.

   ~https://github.com/koalaman/shellcheck/wiki/SC2006

Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
2020-09-24 09:23:12 +01:00
Karol Trzcinski f4e01789f0 travis: Treat warnings as errors
Then each warning message should be addressed.

Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
2020-09-22 19:24:22 +01:00
Karol Trzcinski 3b2398a97d travis: Add more warnings to make command
Warnings may point some fatal error in source code.

Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
2020-09-22 19:24:22 +01:00
Pan Xiuli aecc0b51d0 CI: Travis: init build test for rimage
Enable simple build test for rimage.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2020-04-17 10:47:44 +01:00