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:
- 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
- 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
- arduino --board esp8266:esp8266:generic --save-prefs
- arduino --pref "compiler.warning_level=all" --save-prefs
after_script:
- kill -9 $xvfb
WifiControlSensor:
stage: build
script:
- arduino --verify WifiControlSensor.ino
- arduino --verify WiFiWebServer.ino