add a comment linking to xvfb documentation

This commit is contained in:
pasta 2019-03-15 14:23:30 -05:00 committed by Pasta
parent 5f45198045
commit 720f13d694
No known key found for this signature in database
GPG Key ID: 0B8EB7A31A44D9C6

View File

@ -22,6 +22,7 @@ cd build-ci/dashcore-$BUILD_TARGET
if [ "$RUN_TESTS" = "true" -a "${DEP_OPTS#*NO_QT=1}" = "$DEP_OPTS" ]; then if [ "$RUN_TESTS" = "true" -a "${DEP_OPTS#*NO_QT=1}" = "$DEP_OPTS" ]; then
export DISPLAY=:99.0; export DISPLAY=:99.0;
# Start xvfb if needed, as documented at https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
/sbin/start-stop-daemon --start --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac; /sbin/start-stop-daemon --start --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac;
fi fi