Install arduino env for CI

This commit is contained in:
Mathieu Maret 2016-07-10 01:25:01 +02:00
parent 8a92263ae0
commit e4b0914238

View File

@ -1,12 +1,24 @@
before_script:
- Xvfb :1 -nolisten tcp -screen :1 1280x800x24 &
- xvfb="$!"
- export DISPLAY=:1
- arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json" --save-prefs
- arduino --install-boards esp8266:esp8266
- arduino --board esp8266:esp8266:generic --save-prefs
- arduino --pref "compiler.warning_level=all" --save-prefs
after_script:
- kill -9 $xvfb
WifiControlSensor: WifiControlSensor:
script: script:
- arduino --verify WifiControlSensor.ino - arduino --verify WifiControlSensor.ino
WiFiWebServer: WiFiWebServer:
script: script:
-arduino --verify WiFiWebServer.ino - arduino --verify WiFiWebServer.ino
WiFiAccessPointConfigurator: WiFiAccessPointConfigurator:
script: script:
-arduino --verify WiFiAccessPointConfigurator.ino - arduino --verify WiFiAccessPointConfigurator.ino