Skip to content

Commit 11f0652

Browse files
committed
matplotlib travis
1 parent e11b1d1 commit 11f0652

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ matrix:
1313
python: 2.7
1414
before_install:
1515
- ./.travis/before_install.sh
16+
before_script: # configure a headless display to test plot generation
17+
- "export DISPLAY=:99.0"
18+
- "sh -e /etc/init.d/xvfb start"
19+
- sleep 3 # give xvfb some time to start
1620
# command to install dependencies
1721
install:
1822
- pip install -r requirements.txt

0 commit comments

Comments
 (0)