From 8a52dda5ac88d31dfb7d0730f9ae0daa7c024850 Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Fri, 29 May 2020 20:33:01 +0200 Subject: [PATCH] cppcheck update --- .travis.yml | 2 +- platformio.ini | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4504865..c39e433 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,5 +10,5 @@ install: - pip install -U platformio - platformio update script: - - platformio check + - platformio check --fail-on-defect low --fail-on-defect medium --fail-on-defect high - platformio run \ No newline at end of file diff --git a/platformio.ini b/platformio.ini index 345f35e..c168a0c 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1,3 +1,6 @@ +[platformio] +default_envs = ttgo-lora32-v1 + [env] platform = espressif32 framework = arduino @@ -10,6 +13,9 @@ lib_deps = APRS-Decoder-Lib NTPClient APRS-IS-Lib +check_tool = cppcheck, clangtidy +check_flags = + cppcheck: --suppress=*:*.pio\* # activate for OTA Update, use the USER name from settings.h as upload_port: #upload_protocol = espota #upload_port = .local