diff --git a/.travis.yml b/.travis.yml index 0d6cd9b..ed77013 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,4 +9,5 @@ install: - pip install -U platformio - platformio update script: + - platformio check --fail-on-defect low --fail-on-defect medium --fail-on-defect high - platformio run diff --git a/platformio.ini b/platformio.ini index a32e8a6..26f9bef 100644 --- a/platformio.ini +++ b/platformio.ini @@ -4,6 +4,10 @@ framework = arduino board = ttgo-t-beam lib_ldf_mode = deep+ monitor_speed = 115200 +check_tool = cppcheck, clangtidy +check_flags = + cppcheck: --suppress=*:*.pio\* + #ESP8266 and ESP32 OLED driver for SSD1306 displays [env:ttgo-t-beam-v1]