Allow offscreen execution only if the tests are built on Travis CI.