add static check
This commit is contained in:
parent
ab04a72996
commit
11f3591d84
@ -8,6 +8,11 @@ platform:
|
|||||||
arch: arm
|
arch: arm
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: static check
|
||||||
|
commands:
|
||||||
|
- cd gateway
|
||||||
|
- pio check -e pro-mini
|
||||||
|
|
||||||
- name: native tests
|
- name: native tests
|
||||||
commands:
|
commands:
|
||||||
- cd gateway
|
- cd gateway
|
||||||
|
|||||||
@ -8,6 +8,9 @@
|
|||||||
; Please visit documentation for the other options and examples
|
; Please visit documentation for the other options and examples
|
||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
|
[platformio]
|
||||||
|
default_envs = pro-mini
|
||||||
|
|
||||||
[env:pro-mini]
|
[env:pro-mini]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = miniatmega328
|
board = miniatmega328
|
||||||
@ -21,6 +24,10 @@ lib_deps =
|
|||||||
adafruit/DHT sensor library@1.3.10
|
adafruit/DHT sensor library@1.3.10
|
||||||
build_flags = -D DHT_SENSOR=0
|
build_flags = -D DHT_SENSOR=0
|
||||||
upload_port = /dev/ttyUSB0
|
upload_port = /dev/ttyUSB0
|
||||||
|
check_tool = cppcheck
|
||||||
|
check_flags = --enable=all
|
||||||
|
check_skip_packages = yes
|
||||||
|
check_severity = medium, high
|
||||||
|
|
||||||
[env:native]
|
[env:native]
|
||||||
platform = native
|
platform = native
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
Subproject commit cb04b381f9b68cf60cac7ecb18346fb3291a80a6
|
|
||||||
Loading…
x
Reference in New Issue
Block a user