Domotique/.gitlab-ci.yml

26 lines
1.1 KiB
YAML
Raw Permalink Normal View History

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
#replaced by a fork https://github.com/shmuelzon/Adafruit_MQTT_Library.git that have mqtt retains
# - arduino --install-library "Adafruit MQTT Library" || true
2020-02-28 17:03:49 +01:00
- arduino --install-library "Adafruit BME680 Library" || true
- arduino --install-library "Adafruit Unified Sensor" || true
2016-09-20 19:07:24 +02:00
- arduino --install-library "DHT sensor library" || true
- arduino --install-library "BSEC Software 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}