Skip to content

Commit

Permalink
Trying to start a xvfb server for plotting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Sep 29, 2016
1 parent 42e3fd6 commit 760cdce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ python:
- 2.7
- 3.5

before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start

script:
- py.test reflexible -v --cov reflexible --cov-report term-missing
# reflexible is far from being PEP8 compatible yet, but in the future maybe wise to use the line below...
Expand Down

0 comments on commit 760cdce

Please sign in to comment.