summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 66fb91ab..085c68be 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -44,6 +44,13 @@ matrix:
# env:
# - TOXENV=py36
# - BREW_INSTALL=python3
+
+# use xvfb (X Virtual Framebuffer) to imitate a display so that xclip should work
+before_script:
+ - "export DISPLAY=:99.0"
+ - "sh -e /etc/init.d/xvfb start"
+ - sleep 3 # give xvfb some time to start
+
install:
- pip install tox
# - |