summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-05 14:35:43 -0600
committerTom Rini <trini@konsulko.com>2020-04-10 21:36:37 -0400
commit4ee7f527810ec77c6f0c64975ccbadbde3277696 (patch)
tree9287c271d41e984bb43fdb4cd21842c96c27de1c /.travis.yml
parentf5ec7eebf774456f0c24fc5eae6d0421e353bea6 (diff)
travis/gitlab/azure: Run cppcheck in parallel
This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index bd2ac4ee27..b3253da13c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -448,7 +448,7 @@ matrix:
# static code analysis with cppcheck (we can add --enable=all later)
- name: "cppcheck"
script:
- - cppcheck --force --quiet --inline-suppr .
+ - cppcheck -j$(nproc) --force --quiet --inline-suppr .
# build HTML documentation
- name: "htmldocs"
script: