Hands-on-Supervised-Machine.../build_tools/travis/before_script.sh

7 lines
135 B
Bash

#!/bin/bash
set -e
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 5 # give xvfb some time to start by sleeping for 5 seconds