[U-Boot] travis: Add check for configs without MAINTAINERS entries

Message ID 1544132383-9393-1-git-send-email-trini@konsulko.com
State Accepted
Commit ee168783ae889cf449cee36cc1e51e108a210ed4
Delegated to: Tom Rini
Headers show
Series
  • [U-Boot] travis: Add check for configs without MAINTAINERS entries
Related show

Commit Message

Tom Rini Dec. 6, 2018, 9:39 p.m.
The genboardscfg.py script will emit a WARNING message if we have new
defconfig files that are not listed in a MAINTAINERS file.  Make new
cases of this a failure we catch in Travis-CI.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 .travis.yml | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Tom Rini Dec. 11, 2018, 1:23 a.m. | #1
On Thu, Dec 06, 2018 at 04:39:43PM -0500, Tom Rini wrote:

> The genboardscfg.py script will emit a WARNING message if we have new
> defconfig files that are not listed in a MAINTAINERS file.  Make new
> cases of this a failure we catch in Travis-CI.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!

Patch

diff --git a/.travis.yml b/.travis.yml
index a061f02399c0..4c4336746e69 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -332,6 +332,10 @@  matrix:
     - name: "sloccount"
       script:
         - sloccount .
+    # ensure all configs have MAINTAINERS entries
+    - name: "Check for configs without MAINTAINERS entry"
+      script:
+        - if [ `./tools/genboardscfg.py -f 2>&1 | wc -l` -ne 0 ]; then exit 1; fi
 
     # test/py
     - name: "test/py sandbox"