25 lines
1.0 KiB
YAML
25 lines
1.0 KiB
YAML
before_script:
|
|
- export DISPLAY=:0.0
|
|
- arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json" --save-prefs
|
|
- arduino --install-boards esp8266:esp8266 || true
|
|
#replaced by a fork https://github.com/shmuelzon/Adafruit_MQTT_Library.git that have mqtt retains
|
|
# - arduino --install-library "Adafruit MQTT Library" || true
|
|
- arduino --install-library "Adafruit BME680 Library" || true
|
|
- arduino --install-library "Adafruit Unified Sensor" || true
|
|
- arduino --install-library "DHT sensor library" || true
|
|
- arduino --board esp8266:esp8266:generic --save-prefs
|
|
- arduino --pref "compiler.warning_level=all" --save-prefs
|
|
|
|
after_script:
|
|
|
|
WifiControlSensor:
|
|
stage: build
|
|
script:
|
|
- arduino --verify WifiControlSensor/WifiControlSensor.ino
|
|
- arduino --verify WiFiWebServer/WiFiWebServer.ino
|
|
- arduino --verify WiFiAccessPointConfigurator/WiFiAccessPointConfigurator.ino
|
|
|
|
cppcheck:
|
|
script:
|
|
- cppcheck --enable=all --std=c++11 WifiControlSensor/*.{ino,h}
|