Use local x11

This commit is contained in:
Mathieu Maret 2016-08-05 14:14:47 +02:00
parent 487a7c6d77
commit d0707599c2

View File

@ -1,16 +1,14 @@
before_script: before_script:
- Xvfb :1 -nolisten tcp -screen :1 1280x800x24 & - export DISPLAY=:0.0
- xvfb="$!" #- arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json" --save-prefs
- export DISPLAY=:1 #- arduino --install-boards esp8266:esp8266
- 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 --board esp8266:esp8266:generic --save-prefs
- arduino --pref "compiler.warning_level=all" --save-prefs - arduino --pref "compiler.warning_level=all" --save-prefs
after_script: after_script:
- kill -9 $xvfb
WifiControlSensor: WifiControlSensor:
stage: build
script: script:
- arduino --verify WifiControlSensor.ino - arduino --verify WifiControlSensor.ino
- arduino --verify WiFiWebServer.ino - arduino --verify WiFiWebServer.ino