Setting headless flag in travis build