summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-06-28 21:35:18 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-06-28 21:35:18 -0400
commit02b93551b7675e34e544a747c006905c30591b47 (patch)
treec46bfd63b630b9b0eee6d5b2db3da89bbe25da75
parent1424ebc308d597c560cc48477134e1ed260ecb46 (diff)
downloadcmd2-git-02b93551b7675e34e544a747c006905c30591b47.tar.gz
Modify TravisCI yaml file to imitate a display with an X Virtual Framebuffer
This is yet another attempt at getting xclip to work on Linux TravisCI builds to aid with unit testing.
-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
# - |