mirror of
https://github.com/danbulant/node-x11
synced 2026-06-11 02:30:22 +00:00
16 lines
484 B
YAML
16 lines
484 B
YAML
before_script:
|
|
- "export XAUTHORITY=/tmp/.Xauthority-Xvfb"
|
|
- "xauth add :99 . $(mcookie)"
|
|
- "xauth add 127.0.0.2:99 . $(mcookie)"
|
|
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -nolisten $NOLISTEN -auth $XAUTHORITY"
|
|
- "sleep 1"
|
|
|
|
env:
|
|
- NOLISTEN=tcp DISPLAY=:99.0
|
|
# - NOLISTEN=unix DISPLAY=:99.0
|
|
# - NOLISTEN=unix DISPLAY=127.0.0.2:99.0
|
|
|
|
language: node_js
|
|
node_js:
|
|
- '12'
|
|
- '14'
|