nettoyage post script + apt -y

This commit is contained in:
Julien Cabillot 2017-06-01 14:52:13 +02:00 committed by Cabillot Julien
parent aff0d78095
commit 3885c5c002

View File

@ -8,8 +8,9 @@ inocode:
GITREMDEB: "https://github.com/JoaoLopesF/ESP8266-RemoteDebug-Telnet.git"
before_script:
- apt update
- apt install xvfb
- apt -y install xvfb
- Xvfb :1 -nolisten tcp -screen :1 1280x800x24 &
- xvfb="$!"
- export DISPLAY=":1"
- cd /
- wget --quiet "https://downloads.arduino.cc/arduino-1.8.2-linux64.tar.xz"
@ -27,6 +28,9 @@ inocode:
- cd "${CI_PROJECT_DIR}/arduino/${CI_PROJECT_NAME}"
- cp "${CI_PROJECT_NAME}.example.h" "${CI_PROJECT_NAME}.h"
- /arduino-1.8.2/arduino --verify "${CI_PROJECT_NAME}.ino"
after_script:
- kill -9 "${xvfb}"
yaml:
image: "python:alpine"