mirror of
https://github.com/danbulant/node-x11
synced 2026-07-06 03:31:16 +00:00
Test xauth in Travis tests
This commit is contained in:
parent
e8883275bf
commit
c694394b6d
1 changed files with 8 additions and 4 deletions
12
.travis.yml
12
.travis.yml
|
|
@ -1,10 +1,14 @@
|
||||||
before_script:
|
before_script:
|
||||||
- "export DISPLAY=:99.0"
|
- "export XAUTHORITY=/tmp/.Xauthority-Xvfb"
|
||||||
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -nolisten $NOLISTEN"
|
- "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:
|
env:
|
||||||
- NOLISTEN=tcp
|
- NOLISTEN=tcp DISPLAY=:99.0
|
||||||
- NOLISTEN=unix
|
- NOLISTEN=unix DISPLAY=:99.0
|
||||||
|
- NOLISTEN=unix DISPLAY=127.0.0.2:99.0
|
||||||
|
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue