2016-07-10 01:25:01 +02:00
|
|
|
before_script:
|
2016-08-05 14:14:47 +02:00
|
|
|
- export DISPLAY=:0.0
|
2016-09-20 19:07:24 +02:00
|
|
|
- arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json" --save-prefs
|
|
|
|
- arduino --install-boards esp8266:esp8266 || true
|
|
|
|
- arduino --install-library "Adafruit MQTT Library" || true
|
|
|
|
- arduino --install-library "DHT sensor library" || true
|
2016-07-10 01:25:01 +02:00
|
|
|
- arduino --board esp8266:esp8266:generic --save-prefs
|
|
|
|
- arduino --pref "compiler.warning_level=all" --save-prefs
|
|
|
|
|
|
|
|
after_script:
|
|
|
|
|
2016-07-09 23:16:50 +02:00
|
|
|
WifiControlSensor:
|
2016-08-05 14:14:47 +02:00
|
|
|
stage: build
|
2016-07-09 23:16:50 +02:00
|
|
|
script:
|
2016-09-20 18:47:00 +02:00
|
|
|
- arduino --verify WifiControlSensor/WifiControlSensor.ino
|
2016-09-20 19:07:24 +02:00
|
|
|
- arduino --verify WiFiWebServer/WiFiWebServer.ino
|
|
|
|
- arduino --verify WiFiAccessPointConfigurator/WiFiAccessPointConfigurator.ino
|
2017-01-20 01:21:57 +01:00
|
|
|
|
|
|
|
cppcheck:
|
|
|
|
script:
|
|
|
|
- cppcheck --enable=all --std=c++11 WifiControlSensor/*.{ino,h}
|