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